/* ========================================================================== */
/* 1. Global Variables & Base Reset                                           */
/* ========================================================================== */
/* Pallet one */
:root {
  --primary-color: #a07f56;
  --secondary-color: #e0dbd5c5;
  --accent-color: #2b3336;
  --light-color: #fff;
  --dark-color: #1e1e1e;
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Montserrat", sans-serif;
}
/* 
/* Pallet two */

/* :root {
  --primary-color: #778da9;
  --secondary-color: #e0e1dd;
  --accent-color: #415a77;
  --light-color: #fff;
  --dark-color: #0d151c;
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Montserrat", sans-serif;
} */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-snap-type: y proximity;
}

body {
  font-family: var(--font-body);
  color: var(--dark-color);
  background-color: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-snap-type: y proximity;
  min-height: 100vh;
}

.mobile-only {
  display: none;
}

.story-tagline {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

p {
  font-size: 1.6rem;
}

.header-container {
  width: 90%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 5.5rem 0;
  display: flex;
  justify-content: space-between; /* or use CSS Grid if needed */
  align-items: center;
}

.container {
  width: 90%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 5.5rem 0;
}

.process-container {
  max-width: 160rem;
}

.container-products {
  width: 90%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 5.5rem 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ======================================================================
   Compact sticky-icons panel (shows after header scrolls away)
   ====================================================================== */

.quick-contact {
  position: fixed;
  background: var(--primary-color);
  background-image: url("images/icons/mobile-call.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
  bottom: 5%;
  right: 0.6rem;
  z-index: 2000;
  width: 1rem;
  height: 1rem;
  display: none;
}

/* --- becomes visible once JS adds .is-visible --- */

.quick-contact {
  padding: 3.2rem;
  border-radius: 50%;
  box-shadow: 4px 4px 10px 2px rgba(0, 0, 0, 0.35);
  list-style: none;
  margin: 0;
  /* padding-right: 4rem; */
}

/* ========================================================================== */
/* 2. Re-usable Components                                                    */
/* ========================================================================== */

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  font-family: var(--font-heading);
  color: var(--light-color);
  font-size: clamp(1.44rem, 1.12rem + 0.5vw, 2rem);
  padding: 1rem 3.8rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  font-weight: 500;
}

.btn:hover {
  background-color: #8a6d4a;
}

.icon {
  display: block;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.icon:hover {
  transform: scale(1.2);
}

/* ========================================================================== */
/* 3. Header & Top Bar                                                        */
/* ========================================================================== */

.site-header {
  background-color: var(--secondary-color);
}

.top-bar {
  background-color: var(--primary-color);
  color: var(--light-color);
  text-align: center;
  padding: 1.2rem 1rem;
}

.top-bar p {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 500;
}

.header-main-wrapper {
  background-color: var(--secondary-color);
}

.header-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  align-items: center;
  height: 10.7rem;
  padding: 1rem 0;
}

.header-left {
  display: flex;
  gap: 0.6rem;
}

.header-right a {
  color: var(--accent-color);
  font-size: 2.2rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-link img,
.phone-link {
  height: 3rem;
}

.logo-link {
  display: inline-block;
  max-width: 13.5rem;
  flex-shrink: 1;
  margin: 0 1rem;
  justify-self: center;
}

.logo-link img {
  display: block;
  width: 100%;
}

.icon {
  width: 3rem;
}

/* ========================================================================== */
/* 4. Mobile Navigation                                                       */
/* ========================================================================== */

.mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle.is-hidden {
  display: none;
}

.nav-wrapper {
  display: flex;
  align-items: end;
  width: 100%;
  background-color: var(--accent-color);
  height: 9rem;
}

.main-navigation {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2b3336f8;
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  visibility: hidden;
}

.main-navigation.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-close {
  display: block;
  position: absolute;
  top: 2rem;
  right: 2rem;
  padding: 0.2rem;
}

.nav-container {
  padding: 0;
  text-align: center;
}

.nav-group {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-group li {
  margin-bottom: 2rem;
}

.nav-group a {
  font-family: var(--font-heading);
  color: var(--light-color);
  text-decoration: none;
  font-size: 2.2rem;
  letter-spacing: 0.03em;
  text-transform: capitalize;
}

.book-btn {
  padding: 1rem 2.5rem;
  font-size: 1.8rem;
}

/* ========================================================================== */
/* 5. Hero Banner                                                             */
/* ========================================================================== */

.hero {
  background-color: var(--accent-color);
  color: var(--light-color);
  padding: 4rem 0;
  text-align: center;
  overflow: hidden;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.tagline {
  font-size: 2rem;
  max-width: 87.3rem;
  margin: 0 auto 3rem;
  color: var(--primary-color);
  text-transform: uppercase;
  line-height: 1.5;
  font-weight: 500;
}

.hero-spacer {
  max-width: 12rem;
  margin: 0 auto 2rem;
  border-color: #fff;
}
.spacer {
  max-width: 12rem;
  margin: 0 auto 3rem;
  border-color: var(--primary-color);
}

.projects-spacer {
  max-width: 8.8rem;
  max-height: 1vw;
  border-top: #1e1e1e 1px solid;
  margin: 2vw auto;
  border-color: var(--accent-color);
}

.spacer-left {
  max-width: 8.8rem;
  max-height: 1rem;
  border-top: #1e1e1e 1px solid;
  margin-bottom: 1rem;
  border-color: var(--accent-color);
}

/* ========================================================================== */
/* 6. Features Grid                                                           */
/* ========================================================================== */

.features {
  padding: 4rem 0;
}

.features-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 2rem;
  max-width: 80%;
  margin: 0 auto;
  padding: 10rem 0;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 30.6rem;
  height: 24rem;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.feature img {
  max-width: 60%;
  transition: filter 0.3s ease;
}

.feature-text {
  font-family: var(--font-body);
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.feature:hover {
  transform: scale(1.1);
}

.feature {
  transform: scale(1);
  transition: transform 0.6s ease;
  will-change: transform;
}

.feature.animate {
  animation: pulseScale 0.6s ease forwards;
}

@keyframes pulseScale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* ========================================================================== */
/* 7. Projects Carousel                                                       */
/* ========================================================================== */

.projects {
  background-color: var(--accent-color);
}

.slider-container {
  width: 100%;
  height: 50vw;
  overflow: hidden;
  position: relative;
  cursor: grab;
}

.slider-container.is-dragging {
  cursor: grabbing;
}

.slider-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  will-change: transform;
}

.slide {
  height: 100%;
  width: 80vw;
  flex-shrink: 0;
  padding: 0 1vw;
  user-select: none;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 9;
  pointer-events: none;
}

/* ========================================================================== */
/* 8. Footer                                                                  */
/* ========================================================================== */

.site-footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  text-align: center;
  padding: 2rem 0;
}

.footer-logo {
  max-width: 20rem;
}

.footer-hr {
  margin: 5rem auto;
}

.footer-container {
  display: flex;
  justify-content: space-evenly;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: left;
  gap: 1rem;
}

.footer-nav-group,
.footer-nav-group li,
.footer-nav-group a {
  display: flex;
  flex-direction: column;

  font-size: 1.6rem;
  margin: 0;
  padding: 0;
  gap: 1rem;
  text-decoration: none;
  list-style-type: none;
  color: #fff;
  /* text-align: left; */
}
/* ========================================================================== */
/* 9. “Our Story” Section                                                     */
/* ========================================================================== */

#our-story {
  background-color: var(--secondary-color);
  padding: 4rem 1rem;
}

.container-our-story {
  max-width: 120rem;
  margin: 0 auto;
}

/* .story-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
} */

.story-image {
  display: flex;
  align-items: center;
}

.story-image img {
  width: 100%;
  max-width: 45rem;
  display: block;
  margin: 0 auto;
  border: 0.8rem solid #b8af8b;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.2);
  border-radius: 50%;
}

.story-text h2 {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent-color);
  margin: 0;
}

.story-text .tagline {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 2.5rem;
}

.story-text p {
  font-family: var(--font-body);
  color: var(--accent-color);
  font-size: 1.8rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.story-text a.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-color);
  text-decoration: none;
  padding: 1rem 2rem;
  font-size: 1.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.story-text a.btn:hover {
  background-color: #8c6e47;
}

/* Mobile layout tweaks */
@media (max-width: 768px) {
  .story-content-wrapper {
    grid-template-columns: 1fr;
  }

  .story-text a.btn {
    margin-top: 2rem;
  }

  .story-image img {
    max-width: 100%;
  }
}

/* ========================================================================== */
/* 10. Recent Projects                                                        */
/* ========================================================================== */

.recent-projects {
  padding: 6rem 0;
  background-color: #f7f5f2;
}

.recent-projects__header-container {
  max-width: 120rem;
  margin: 0 auto;
  width: 90%;
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 500;
  color: var(--dark-color);
}

.section-tagline {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 1rem;
}

.project-list-fullwidth {
  display: flex;
  flex-direction: column;
}

.project-entry-fullwidth {
  display: flex;
  flex-direction: column;
}

.project-details-wrapper {
  padding: 4rem 5%;
  display: flex;
  justify-content: center;
}

.project-details {
  max-width: 50rem;
  width: 100%;
}

.project-details h3 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.1;
}

.details-divider {
  border: none;
  height: 2px;
  width: 50px;
  background-color: var(--primary-color);
  margin: 2.5rem 0;
}

.project-category {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.project-details p {
  font-size: 1.7rem;
  line-height: 1.8;
  margin-bottom: 3.5rem;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recent-projects__footer-container {
  text-align: center;
  margin-top: 6rem;
}

.section-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  color: var(--light-color);
  background-color: var(--accent-color);
  width: 100%;
  height: 11rem;
}

.section-footer h4 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 1.5rem + 3vw, 4.8rem);
  font-weight: 400;
  line-height: 1.2;
}

/* ========================================================================== */
/* 11. Testimonials                                                           */
/* ========================================================================== */

.testimonials {
  padding: 6rem 0;
  background-color: var(--secondary-color);
}

.testimonial-slider-container {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  position: relative;
}

.testimonial-slider-container.is-dragging {
  cursor: grabbing;
}

.testimonial-slider-track {
  display: flex;
  padding-bottom: 2rem;
  will-change: transform;
}

.testimonial-card {
  background-color: #fdfdfd;
  border: 1px solid #eee;
  padding: 4rem 3rem;
  border-radius: 8px;
  text-align: center;
  flex: 0 0 90%;
  margin-right: 2rem;
  user-select: none;
}

.quote-icon {
  width: 40px;
  height: auto;
  margin-bottom: 2rem;
  pointer-events: none;
}

.testimonial-card blockquote {
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.8;
  font-style: italic;
  color: #555;
  margin-bottom: 2rem;
}

.testimonial-divider {
  width: 50px;
  margin: 0 auto 2rem;
  border: none;
  border-top: 1px solid var(--primary-color);
}

.testimonial-author {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-color);
}

.testimonial-location {
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: #777;
  margin-top: 0.5rem;
}

/* ========================================================================== */
/* 12. Free Guide CTA                                                         */
/* ========================================================================== */

.free-guide {
  background-image: url("images/slider/slider1.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 10rem 0;
  position: relative;
  color: var(--light-color);
}

.free-guide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(43, 51, 54, 0.411);
  z-index: 1;
}

.free-guide .container {
  position: relative;
  z-index: 2;
  padding: 12rem 2rem;
}

.guide-card {
  background-color: rgba(43, 51, 54, 0.8);
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 4rem;
  text-align: center;
  border-radius: 8px;
}

.guide-card h2 {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.guide-card .guide-tagline {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2rem;
}

.guide-card p {
  font-size: 1.7rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  letter-spacing: 0.025rem;
}

.more-info {
  font-weight: 500;
  font-size: 2rem;
}

/* ========================================================================== */
/* 13. “Our Process” Steps                                                    */
/* ========================================================================== */

.our-process {
  padding: 6rem 0;
  background-color: var(--secondary-color);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.process-step {
  text-align: center;
}

.process-step-number {
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--light-color);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.process-step p {
  max-width: 40rem;
  margin: 0 auto;
}

/* ========================================================================== */
/* 14. FAQ Accordion                                                          */
/* ========================================================================== */

.faq {
  padding: 6rem 0;
}

.faq-accordion {
  max-width: 80rem;
  margin: 0 auto;
  border-top: 1px solid #ddd;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--dark-color);
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-icon {
  width: 14px;
  height: 14px;
  position: relative;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1.5rem;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--dark-color);
  transition: background-color 0.3s ease;
}

.faq-question:hover .faq-icon::before,
.faq-question:hover .faq-icon::after {
  background-color: var(--primary-color);
}

.faq-icon::before {
  width: 100%;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 100%;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease;
  padding: 0 1rem;
}

.faq-answer p {
  padding-bottom: 2rem;
}

/* ========================================================================== */
/* 15. Final Call-to-Action                                                   */
/* ========================================================================== */

.final-cta {
  background-color: var(--accent-color);
  color: var(--light-color);
  padding: 6rem 0;
}

.final-cta .container {
  text-align: center;
}

.final-cta h2 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
}

/* ========================================================================== */
/* 16. Individual Project Pages                                               */
/* ========================================================================== */

.projects-section {
  padding: 4rem 0;
}

.section-heading {
  text-align: center;
  font-size: 6.8rem;
  margin-bottom: 0;
  font-family: var(--font-heading);
  color: var(--accent-color);
  font-weight: 500;
}

.section-subheading {
  font-family: var(--font-body);
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary-color);
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  font-weight: 500;
}

.project {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 5rem;
  gap: 2rem;
}

.project-image {
  flex: 1 1 50%;
}

.project-image img {
  object-fit: cover;
  object-position: center;
  height: 100vh;
  display: block;
}

.project-text {
  flex: 1 1 45%;
  padding: 0 8rem 1rem 4rem;
  align-self: center;
}

.project-text h3 {
  font-size: 4.8rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  color: var(--accent-color);
  font-weight: 500;
}

.subtitle {
  font-size: 2.2rem;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

.project-text p {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 2.6rem;
  line-height: 3.2rem;
}

.btn:hover {
  background-color: #8b6845;
}

/* -----Contact Section----- */

.contact-section {
  /* display: flex;
  justify-content: center; */
  width: 100%;
  background-color: var(--secondary-color);
  padding: 8rem 0;
}

.contact-section-container {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  grid-template-rows: 180px 600px 1fr;
  justify-items: center;
  align-items: center;
  align-content: center;
  width: 100%;
  font-family: var(--font-heading);
  gap: 0rem;
  margin: 0 auto;
  scroll-snap-align: start;
}

.contact-info {
  display: flex;
  justify-content: space-evenly;
  grid-column: span 2;
  width: auto;
  gap: 4rem;
}

.contact-intro {
  width: 50%;
}

.contact-heading {
  font-size: 5rem;
  font-weight: 500;
}

.contact-info .subheading {
  color: #a78960;
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  letter-spacing: normal;
}

.contact-info p {
  /* margin-bottom: 1rem; */
  font-size: 2.2rem;
  line-height: 1.6;
}

.contact-section-phone-email-container {
  display: flex;
  padding: 2rem;
}

small {
  font-size: 1.8rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-detail a {
  text-decoration: none;
  color: #1e1e1e;
}

.contact-detail img {
  width: 8rem;
  height: 8rem;
  margin-bottom: 4rem;
  flex-grow: 1;
}

.contact-detail-divider {
  height: 0.26rem;
  background-color: #1e1e1e;
  width: 100%;
  margin: 0 0 2rem 0;
}

.contact-form {
  /* background: #cfcac4; */
  padding: 0 4rem;
  /* display: flex; */
  /* flex-direction: column; */
  gap: 3.2rem;
  width: 100%;
  min-height: 52rem;
  grid-column: span 2;
}

.contact-form button {
  max-width: 15rem;
}

.contact-form-container {
  margin: 0 auto;
  width: 65%;
}

.name-email-container {
  display: flex;
  gap: 4rem;
}
.contact-message-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}
.input-container {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.custom-select-container {
  width: 100%;
}
.contact-form label {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.8rem 1.6rem;
  border: none;
  font-size: 1.8rem;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-heading);
  font-weight: 500;
  box-shadow: 3px 5px 23px 0px rgba(160, 127, 86, 0.19);
  -webkit-box-shadow: 3px 5px 23px 0px rgba(160, 127, 86, 0.19);
  -moz-box-shadow: 3px 5px 23px 0px rgba(160, 127, 86, 0.19);
}

.custom-select {
  position: relative;
  width: 100%;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
  background-color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.8rem;
  font-weight: 500;
  box-sizing: border-box;
  box-shadow: 3px 5px 23px 0px rgba(160, 127, 86, 0.19);
  -webkit-box-shadow: 3px 5px 23px 0px rgba(160, 127, 86, 0.19);
  -moz-box-shadow: 3px 5px 23px 0px rgba(160, 127, 86, 0.19);
}

.custom-select.focused {
  outline: var(--primary-color) 0.2rem solid;
}

.custom-placeholder {
  color: #1e1e1eab;
}

.options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  background: white;
  border: 1px solid #ccc;
}

.options li {
  padding: 8px;
}

.options li:hover {
  background-color: #eee;
  outline: var(--primary-color) 0.2rem solid;
}

.custom-select.open .options {
  display: block;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: var(--primary-color) 0.2rem solid;
}

.contact-form textarea {
  resize: vertical;
  min-height: 24rem;
}

.contact-form button {
  padding: 1.5rem 3.5rem;
  background: #a78960;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: 3px 5px 23px 0px rgba(160, 127, 86, 0.19);
  -webkit-box-shadow: 3px 5px 23px 0px rgba(160, 127, 86, 0.19);
  -moz-box-shadow: 3px 5px 23px 0px rgba(160, 127, 86, 0.19);
}

.contact-form button:hover {
  background: #8c714f;
}

.map {
  padding: 4rem;
  grid-column: span 2;
  height: 65rem;
  width: 100%;
  /* overflow: hidden; */
}

.map iframe {
  height: 100%;
  padding: 0;
  margin: 0;
}

/* block all mouse interaction until .is-active is added */
.map-wrap iframe {
  pointer-events: none;
}

/* allow drag/zoom after a click */
.map-wrap.is-active iframe {
  pointer-events: auto;
}

/* ========================================================================== */
/* 17. Media Queries & Responsive Overrides                                   */
/* ========================================================================== */

/* ----- Tablet & Desktop (≥ 768px) ----- */
@media (min-width: 768px) {
  .header-left {
    visibility: hidden;
  }
  .mobile-menu-toggle {
    display: none;
  }
  .phone-link-left {
    display: flex;
    align-items: center;
  }
  .main-navigation {
    all: unset;
    background-color: var(--accent-color);
    display: block;
  }

  .mobile-menu-close {
    display: none;
  }

  .nav-wrapper {
    padding-top: 1%;
  }

  .header-container {
    width: 90%;
    max-width: 120rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
  }

  .nav-group {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }

  .nav-group a {
    /* padding: 0.5rem 1rem; */
    position: relative;
    white-space: nowrap;
  }

  .nav-group a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
  }

  .nav-group a:hover::after,
  .nav-group a.active::after {
    width: calc(100% - 2rem);
  }

  .recent-projects__header-container {
    width: 80%;
  }

  .section-header h2 {
    font-size: 5rem;
  }

  .project-entry-fullwidth {
    display: grid;
    grid-template-columns: 55fr 45fr;
    align-items: center;
  }

  .project-entry-fullwidth.is-reversed {
    grid-template-columns: 45fr 55fr;
  }

  .project-entry-fullwidth.is-reversed .project-details-wrapper {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .project-entry-fullwidth.is-reversed .project-image {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .project-details-wrapper {
    padding: 6rem 15%;
  }

  .project-details h3 {
    font-size: 5rem;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card {
    flex-basis: 31%;
    margin-right: 3rem;
  }

  .guide-card h2,
  .final-cta h2 {
    font-size: 5rem;
  }

  .faq-question {
    font-size: 2.4rem;
  }
}

.affiliation-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 10rem 0;
}

.kitchen-link {
  align-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 30rem;
  padding: 1.5rem 1.5rem;
  background-color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out;
}

.kitchen-link a {
  color: var(--light-color);
  text-decoration: none;
  font-size: clamp(1.44rem, 1.12rem + 0.5vw, 2rem);
  font-family: var(--font-heading);
}

.kitchen-link:hover {
  background-color: #8b6e4b;
}

.affiliation-section {
  background-image: url("images/kitchen.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 10rem 0;
  position: relative;
  color: var(--light-color);
}

.affiliation-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(43, 51, 54, 0.253);
  z-index: 1;
}

.affiliation-section .container {
  position: relative;
  z-index: 2;
  padding: 12rem 2rem;
}

.kitchen-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(43, 51, 54, 0.8);
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 4rem;
  text-align: center;
  border-radius: 8px;
}

.kitchen-card h2 {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* .kitchen-card .kitchen-tagline {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2rem;
} */

.kitchen-card p {
  font-size: 1.7rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  letter-spacing: 0.025rem;
}

/* ----- Large Desktop (≥ 1024px) ----- */
@media (min-width: 1024px) {
  .mobile-menu-toggle,
  .mobile-menu-close {
    display: none;
  }

  .slider-container {
    height: 64rem;
  }

  .slide {
    width: 94rem;
    max-width: 80vw;
  }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  section {
    scroll-margin-top: 14.8rem;
  }

  .contact-section {
    scroll-margin-top: 12rem;
  }
}

/* ----- Mobile Overrides (≤ 767px) ----- */
@media (max-width: 767px) {
  .mobile-menu-toggle {
    position: absolute;
    top: 10.8rem;
    right: 3rem;
    display: block;
  }

  .quick-contact {
    display: flex;
  }

  .hero-heading {
    font-size: 2.5rem;
    font-weight: 500;
  }
  .hero-tagline {
    font-size: 1.6rem;
  }
  .btn {
    font-size: 1.7rem;
    font-weight: 600;
  }
  .section-heading {
    font-size: 2.5rem;
  }
  .section-subheading {
    font-size: 1.6rem;
  }
  .projects-section {
    padding: 1.8rem 2rem;
  }

  .project-image img {
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: auto;
    display: block;
  }

  .project-text h3 {
    font-size: 2rem;
  }
  .project-text h4 {
    font-size: 1.6rem;
  }

  .project-text {
    padding: 0;
  }
  .project-text p {
    font-size: 1.9rem;
    line-height: 2rem;
  }
  .project {
    flex-direction: column;
    gap: 0;
  }

  .project-neston {
    flex-direction: column-reverse;
  }

  .project-image,
  .project-text {
    flex: 1 1 100%;
  }

  .project-text {
    text-align: left;
  }

  .project-text h3 {
    margin-top: 1rem;
  }

  .story-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10rem;
  }

  .animate-on-scroll[data-animation="fade-in-left"],
  .animate-on-scroll[data-animation="fade-in-right"] {
    transform: translateY(30px);
  }

  .section-footer {
    flex-direction: column;
    height: auto;
    padding: 3rem 1rem;
    gap: 2rem;
  }

  .features-container {
    flex-direction: column;
  }
  /* .phone-number {
    display: none;
  } */
  .header-main {
    justify-content: space-evenly;
    /* align-items: start; */
  }
  .projects {
    padding-top: 1rem;
  }
  .top-bar p {
    font-size: 1.4rem;
    font-weight: 500;
  }
  .nav-wrapper {
    height: auto;
  }
  .contact-intro {
    width: 90%;
  }
  .free-guide {
    padding: 0;
  }
  .affiliation-section {
    padding: 0;
  }
  .affiliation-section .container {
    width: 100%;
    border-radius: 0;
    height: 100vh;
  }

  .kitchen-card {
    min-width: 98%;
    padding: 5rem 4rem;
    text-align: center;
    padding: 0;
    justify-content: center;
  }
  .free-guide .container {
    width: 100%;
    padding: 0;
  }
  .guide-card {
    background-color: rgba(43, 51, 54, 0.8);
    min-width: 98%;
    margin: 0 auto;
    padding: 5rem 4rem;
    text-align: center;
    border-radius: 0;
    line-height: 1.1;
  }
  .mobile-only {
    display: block;

    height: 5rem;
  }
  .mobile-phone-link {
    display: flex;
    align-items: center;
    max-width: 5vw;
    white-space: nowrap;
    gap: 1rem;
  }
}

/* ----- Misc Viewport Tweaks ----- */
@media (max-width: 1023px) {
}

@media (max-width: 1042px) {
  .nav-group .book-btn {
    /* display: none; */
    padding: 0.6rem 1.5rem;
    font-size: 1.4rem;
  }

  .contact-info {
    width: auto;
  }

  .contact-detail {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }

  .contact-form {
    width: 100%;
  }

  .contact-section-phone-email-container {
    display: none;
  }

  .nav-container {
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
  }
}

@media (max-width: 768px) {
  .header-right {
    display: none;
  }
  .icon {
    width: 2rem;
    height: 2rem;
  }
  .icon img {
    height: 2rem;
  }
  .call-container small,
  .call-container p,
  .email-container small {
    display: none;
  }
  .name-email-container {
    flex-direction: column;
  }
  .contact-form button {
    max-width: 100%;
  }
  .contact-section-container {
    grid-template-rows: 18rem 30rem 1fr;
    align-items: end;
  }
  .map {
    max-height: 300px;
    padding: 4rem;
  }
  .contact-form-container {
    width: 95%;
  }
  .contact-info {
    gap: 0;
  }
}

/* hide entirely on phones (tweak if you prefer a bottom bar) */
@media (max-width: 767px) {
}
/* ======================================================================
   Nudge + scale (one-time attention animation)
   ====================================================================== */

@keyframes nudgeX {
  0% {
    transform: translateY(-50%) translateX(0) scale(1);
  }
  40% {
    transform: translateY(-50%) translateX(-6px) scale(1.1);
  }
  100% {
    transform: translateY(-50%) translateX(0) scale(1);
  }
}
.nav-wrapper.fixed {
  position: fixed;
  top: 0;
  z-index: 9999;
}

.logo-container {
  font-weight: 100;
}

.product-logo-container {
  width: 90%;
  display: flex;
  justify-content: space-evenly;
  margin: 0 auto;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10rem;
  height: 10rem;
  max-width: 50%;
  max-height: 5%;
  font-size: 2rem;
  color: #fff;
  background-color: #555;
  border-radius: 50%;
}

/* Gallery */
.gallery-slider-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, padding 0.6s ease;
  background-color: var(--accent-color);
  padding: 0;
  position: relative;
  margin-top: 0;
  z-index: 1;
  display: block;
}

.gallery-slider-wrapper.open {
  max-height: 1000px;
  padding: 2rem;
}

.gallery-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  align-items: stretch;
}

.gallery-slide {
  /* min-width: 300px; */
  max-width: 600px;
  height: 380px; /* ✅ Set desired height */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f6f6;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover; /* cover or contain depending on your preference */
  display: block;
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #a07f56;
  color: white;
  border: none;
  padding: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}
.gallery-track {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.gallery-slide img {
  user-drag: none;
  user-select: none;
  pointer-events: none;
}

.gallery-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}
.gallery-track {
  scroll-behavior: auto; /* This is better for dragging */
}
