   :root {
      --bg-color: #fff8f0;
      --primary-color: #a0522d;
      --secondary-color: #fff5eb;
      --accent-color: #5c2e0d;
      --text-color: #3b2f2f;
      --font-family: 'Inter', sans-serif;

      /* Major Third Type Scale */
      --font-xs: 0.64rem;
      --font-sm: 0.8rem;
      --font-base: 1rem;
      --font-md: 1.25rem;
      --font-lg: 1.563rem;
      --font-xl: 1.953rem;
      --font-xxl: 2.441rem;
      --font-xxxl: 3.052rem;
      --font-display: 3.815rem;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html, body {
      height: auto;
    }

    body {
      font-family: var(--font-family);
      background-color: var(--bg-color);
      color: var(--text-color);
    }

.header-container {
  background: var(--secondary-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.logo-block {
  background: var(--secondary-color);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  border-right: 1px solid rgba(0,0,0,0.05);
}

.logo {
  font-size: var(--font-xxl);
  font-weight: 700;
  line-height: 1;
}

.right-block {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.5rem 2rem;
  font-size: var(--font-sm);
  gap: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s ease, opacity 0.3s ease, height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
  transform: translateY(0);
  opacity: 1;
  height: auto;
  overflow: hidden;
}

.top-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  height: 0;
  padding: 0;
  margin: 0;
}

.top-bar i {
  margin-right: 0.35rem;
  color: var(--accent-color);
}


.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.main-nav nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.main-nav nav a {
  text-decoration: none;
  color: var(--accent-color);
  font-weight: 600;
  font-size: var(--font-md);
}

.nav-cta {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  font-weight: bold;
  font-size: var(--font-sm);
  cursor: pointer;
}



    .hero {
      display: flex;
      height: calc(100vh - 105px);
    }

    .hero-left,
    .hero-right {
    flex-basis: 50%;
    max-width: 50%;
    }

    .hero-left {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      gap: .5rem;
      padding: 5rem;
    }

    .hero-right {
      flex: 1;
      position: relative;
      overflow: hidden;
    }

    .hero-left .subtitle {
      text-transform: uppercase;
      font-size: var(--font-sm);
      letter-spacing: 0.05em;
      color: var(--accent-color);
      font-weight: 600;
      letter-spacing: 2px;
    }

    .hero-left h1 {
      font-size: var(--font-display);
      font-weight: 700;
    }

    .hero-left p {
      font-size: var(--font-lg);
      color: var(--accent-color);
    }

    .hero-buttons {
      display: flex;
      width: 100%;
      gap: 50px;
      margin-top: 20px;
    }

.btn {
  flex: 1;
  padding: 1rem 0;
  font-size: var(--font-md);
  border: 2px solid;
  cursor: pointer;
  font-weight: 600;
  border-radius: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  z-index: -1;
  transition: height 0.4s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.btn-primary::before {
  background-color: white;
}

.btn-primary:hover {
  color: var(--primary-color);
}

.btn-primary:hover::before {
  height: 100%;
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-secondary::before {
  background-color: var(--accent-color);
}

.btn-secondary:hover {
  color: white;
}

.btn-secondary:hover::before {
  height: 100%;
}



    .swiper {
      width: 100%;
      height: 100%;
    }

    .swiper-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .swiper-pagination {
      position: absolute;
      bottom: 1rem !important;
      left: 1rem !important;
      display: flex;
      flex-direction: row;
      gap: 0.25rem;
      z-index: 10;
    }

    .swiper-pagination-bullet {
      background: rgba(255, 255, 255, 0.9);
      opacity: 1;
      width: 12px;
      height: 12px;
      border-radius: 2px;
    }

    .swiper-navigation-container {
      position: absolute;
      bottom: 1rem;
      right: 1rem;
      background: rgba(255, 255, 255, 0.9);
      border-radius: 2px;
      display: flex;
      gap: 0.5rem;
      padding: 0.5rem 0.75rem;
      z-index: 10;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .swiper-button-next,
    .swiper-button-prev {
      position: static;
      margin: 0;
      color: var(--accent-color);
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
      font-size: 1rem;
    }

    @media (max-width: 768px) {
    .hero {
        flex-direction: column;
        height: auto;
    }

    .hero-left,
    .hero-right {
        max-width: 100%;
        flex-basis: auto;
        width: 100%;
        padding: 2rem;
    }

  .hero-right {
    width: 100vw;        /* stretch to full viewport width */
    height: 50vh;        /* adjust as needed (e.g., 50% of viewport height) */
    padding: 0;
    margin-left: calc((100% - 100vw) / 2); /* centers it if parent has padding */
  }

  /* Ensure the Swiper inside fills the container */
  .hero-right .swiper {
    width: 100%;
    height: 100%;
  }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }
    }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--accent-color);
  cursor: pointer;
}

@media (max-width: 768px) {
  .main-nav nav ul {
    position: static;
    top: auto;
    right: auto;
    background: var(--secondary-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
  }

  .main-nav nav ul.show {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

.mobile-contact {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 2rem 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-size: var(--font-sm);
  background: var(--secondary-color);
}

@media (max-width: 768px) {
  .mobile-contact {
    display: none;
  }

  .top-bar {
    display: none;
  }

  .nav-wrapper {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem;
    display: none;
  }

  .nav-wrapper.show {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    box-shadow: none;
    }
  .nav-wrapper.show .mobile-contact {
    display: flex;
    padding: 0;
  }

  .nav-wrapper ul {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: block;
  }
}


/* Services */

.services {
  padding: 8rem 2rem;
  background: var(--bg-color);
  text-align: center;
}

.services-header .subtitle {
  font-size: var(--font-sm);
  color: var(--accent-color);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.services-header h2 {
  font-size: var(--font-xl);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.services-header p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--text-color);
  font-size: var(--font-base);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 80px 0;
}

.service-card {
  background: var(--secondary-color);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  text-align: left;
  color: var(--text-color);
  transition: color 0.3s ease;
  z-index: 1;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: transform 0.5s ease, opacity 0.4s ease;
  z-index: -1;
}

.service-card:hover::before {
  opacity: 0.2;
  transform: scale(1.1);
}

.service-card:hover {
  background: var(--primary-color);
  color: white;
}

.service-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.service-card:hover i {
  color: white;
}

.service-card h3 {
  font-size: var(--font-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.4;
}

/* CTA under services */
.services-cta {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.services-cta .btn {
  padding: 0.85rem 1rem;
  font-size: var(--font-md);
  border-radius: 0;
  max-width: 220px;
}

@media (max-width: 768px) {
  .services-cta {
    margin-top: 1.25rem;
    padding: 0 1rem;
  }
  .services-cta .btn {
    flex: 1;
    width: 100%;
    max-width: none;
  }
}

/* About Section */
.about-section {
  background-image:linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('./images/background-cabin.png'); /* Replace with your image */
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

.about-overlay {
  padding: 4rem 2rem;
}

.about-content h2 {
  font-size: var(--font-xxl);
  margin-bottom: 1rem;
  color: white;
}

.about-content p {
  font-size: var(--font-md);
  max-width: 800px;
  margin: 0 auto 3rem auto;
  color: #f1f1f1;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.feature-box {
  padding: 2rem 1rem;
  border-radius: 0.5rem;
  width: 200px;
  flex: 1 1 200px;
  color: white;
}

.feature-box i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    background: white;
    padding: 20px;
    border-radius: 50%;
}

.feature-box h4 {
  font-size: var(--font-md);
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 1rem;
  color: #eaeaea;
}

.projects-section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--secondary-color);
}

.project-swiper {
  width: 100%;
  padding: 2rem 0;
  position: relative;
  z-index: 220; /* bring project swiper forward */
}

.project-swiper .swiper-wrapper {
  align-items: center;
}

.project-swiper .swiper-slide {
  max-width: 800px;
  height: 500px;
  margin: 0 auto;
  transition: transform 0.45s cubic-bezier(.2,.9,.2,1), box-shadow 0.45s ease, opacity 0.45s ease;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  z-index: 10;
  transform-origin: center center;
  transform: scale(0.82); /* smaller by default */
  opacity: 0.85;
}

/* Active slide grows to full size */
.project-swiper .swiper-slide.swiper-slide-active {
  transform: scale(1);
  z-index: 220;
  opacity: 1;
}
    .project-swiper-navigation-container {
      margin: 20px auto;
      width: fit-content;
      background: rgba(255, 255, 255, 0.9);
      border-radius: 2px;
      display: flex;
      gap: 0.5rem;
      padding: 0.5rem 0.75rem;
      z-index: 10;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

/* Make neighboring slides slightly more prominent than distant ones */
.project-swiper .swiper-slide.swiper-slide-next,
.project-swiper .swiper-slide.swiper-slide-prev {
  transform: scale(0.9);
  opacity: 0.92;
  z-index: 110;
  cursor: pointer;
}

.project-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-swiper .swiper-slide:hover img {
  transform: scale(1.03);
}

/* Slide caption overlay: subtle black gradient and text at the bottom */
  .project-swiper .slide-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-end;
    color: #ffffff;
    z-index: 240; /* sit above the image and active slide z-index */

    /* light-brown overlay for readability */
    background: linear-gradient(
    180deg,
    rgba(255, 248, 240, 0) 0%,
    rgba(160, 82, 45, 0.48) 20%,
    rgba(160, 82, 45, 0.78) 100%
  );

    pointer-events: none; 
    transition: padding 220ms ease, background 220ms ease;
  }

/* Hover: deepen the bottom overlay so captions read even better */
.project-swiper .swiper-slide:hover .slide-overlay {
  padding: 1.15rem 1.25rem;
  /*background: linear-gradient(
    180deg,
    rgba(255, 248, 240, 0) 0%,
    rgba(160, 82, 45, 0.28) 30%,
    rgba(160, 82, 45, 0.78) 100%
  );*/
  transition: transform 220ms ease, opacity 220ms ease;
}

    .project-swiper .slide-meta {
      pointer-events: auto;
      text-align: left;
      transform: translateY(0);
      transition: transform 220ms ease, opacity 220ms ease;
      opacity: 0.96;
    }

    .project-swiper .project-type {
      display: block;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      opacity: 0.95;
      color: rgba(255,255,255,0.95);
      margin-bottom: 0.25rem;
      font-weight: 600;
    }

    .project-swiper .project-title {
      margin: 0;
      font-size: var(--font-lg);
      line-height: 1.1;
      color: #ffffff;
      text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    }

    /* Hover: make caption feel more interactive */
    .project-swiper .swiper-slide:hover .slide-meta {
      transform: translateY(-6px);
      opacity: 1;
    }

    .project-swiper .swiper-slide:hover .project-title {
      transform: translateY(-1px);
    }

    .project-swiper .project-title {
      transition: transform 220ms ease;
    }

    .project-swiper .project-type {
      transition: transform 220ms ease, opacity 220ms ease;
    }

    .project-swiper .swiper-slide:hover .project-type {
      transform: translateY(-2px);
      opacity: 1;
    }

    /* Template-style tweaks for project swiper + hover opacity trick */
    .project-swiper {
      /* keep existing stacking but add a soft background for controls area */
      --proj-ctrl-bg: rgba(255,255,255,0.96);
    }

    /* when hovering the whole swiper, mute all slides slightly so hovered one pops */
    .project-swiper:hover .swiper-slide {
      opacity: 0.58;
      transition: opacity 220ms ease, transform 220ms ease;
    }

    /* hovered slide becomes fully opaque and lifts slightly */
    .project-swiper .swiper-slide:hover {
      opacity: 1 !important;
      transform: translateY(-8px) scale(1.02) !important;
      box-shadow: 0 20px 48px rgba(0,0,0,0.22) !important;
      z-index: 240 !important;
    }

    /* ensure the active slide remains visible when not hovering */
    .project-swiper .swiper-slide.swiper-slide-active {
      opacity: 1;
      transform: scale(1);
      box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    }

    /* style the compact navigation to match template and use FA icons */
    .project-swiper .project-swiper-navigation-container {
      background: var(--proj-ctrl-bg);
      border-radius: 2px;
      display: inline-flex;
      gap: 0.5rem;
      padding: 0.35rem 0.45rem;
      align-items: center;
      box-shadow: 0 8px 24px rgba(0,0,0,0.12);
      border: 1px solid rgba(0,0,0,0.04);
    }

    .project-swiper .project-swiper-navigation-container button {
      appearance: none;
      -webkit-appearance: none;
      border: none;
      background: transparent;
      width: 44px;
      height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--accent-color);
      font-size: 1.05rem;
      transition: background-color 160ms ease, color 160ms ease, transform 140ms ease;
      border-radius: 6px;
    }

    .project-swiper .project-swiper-navigation-container button i {
      pointer-events: none; /* icon shouldn't intercept click */
    }

    .project-swiper .project-swiper-navigation-container button:hover {
      color: var(--primary-color);
      background: rgba(0,0,0,0.03);
    }

    .project-swiper .project-swiper-navigation-container button:focus {
      outline-offset: 2px;
    }

    /* mobile adjustments: reduce height and scale for slides */
    @media (max-width: 768px) {
      .project-swiper .swiper-slide {
        height: 340px;
      }
      .project-swiper .project-swiper-navigation-container button {
        width: 40px;
        height: 36px;
        font-size: 0.95rem;
      }
      .project-swiper:hover .swiper-slide { opacity: 1; } /* avoid muting on touch devices */
    }

.about-keith {
  padding: 5rem 2rem;
  background: var(--secondary-color);
}

.keith-container {
  display: flex;
  gap: 6rem;
  align-items: center;
  margin: 0 auto;
  flex-wrap: wrap;
}

.keith-image {
  flex: 1;
  min-width: 300px;
}

.keith-image img {
  width: 100%;
  border-radius: 2px;
  object-fit: cover;
  max-height: 500px;
}

.keith-content {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.keith-content p {
  font-size: var(--font-md);
  color: var(--text-color);
}


/* Testimonials (split layout like reference, keep existing background color) */
.testimonial-section {
  background: var(--accent-color) url('./images/cartographer.png') center/cover no-repeat;
  color: #fff;
  padding: 5rem 2rem;
}

.testimonial-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  align-items: stretch;
}

.testimonial-left,
.testimonial-right {
  flex: 1;
  min-width: 320px;
}

.testimonial-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.testimonial-left h2 {
  font-size: var(--font-xxl);
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 1rem;
}

.testimonial-left h2 span {
  opacity: 0.65;
  font-weight: 700;
}

.testimonial-seo {
  max-width: 520px;
  font-size: var(--font-base);
  line-height: 1.5;
  opacity: 0.9;
  margin: 0 0 1.5rem;
}

.testimonial-cta {
  align-self: flex-start;
  padding: 0.85rem 1.25rem;
  font-size: var(--font-sm);
  max-width: 260px;
}

.testimonial-right {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
}

.testimonial-right .testimonial-swiper {
  width: 100%;
}

/* Ensure each testimonial slide is a flex container */
.testimonial-right .swiper-slide {
  display: flex;
}

/* Make the quote card fill the slide and arrange content vertically */
.quote-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.quote-text {
  margin: 0;
  font-size: var(--font-lg);
  line-height: 1.55;
  color: rgba(255,255,255,0.96);
  max-width: 700px;
}

/* golden quote icons */
.quote-icon {
  color: #d7b46a; /* warm gold */
  font-size: 1.25em;
  vertical-align: -0.15em;
}

.quote-icon--start {
  margin-right: 0.4rem;
}

.quote-icon--end {
  margin-left: 0.4rem;
  /* Prevent this icon from separating from the preceding word */
  white-space: nowrap;
}

.quote-meta {
  margin-top: auto;
}

.quote-name {
  font-size: var(--font-sm);
  font-weight: 700;
}

.quote-title {
  font-size: var(--font-xs);
  opacity: 0.75;
  margin-top: 0.15rem;
}

.quote-tail { white-space: nowrap; }

/* testimonial nav styled like the project swiper controls */
.testimonial-navigation {
  position: absolute;
  right: 0;
  bottom: 1.5em;
  /* bring above the swiper content so entire button area is clickable */
  z-index: 20;
}

.testimonial-swiper-navigation-container {
  background: rgba(255,255,255,0.96);
  border-radius: 2px;
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.35rem 0.45rem;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.04);
}

.testimonial-swiper-navigation-container button {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  width: 44px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--accent-color);
  font-size: 1.05rem;
  transition: background-color 160ms ease, color 160ms ease, transform 140ms ease;
  border-radius: 6px;
}

.testimonial-swiper-navigation-container button i {
  pointer-events: none;
}

.testimonial-swiper-navigation-container button:hover {
  color: var(--primary-color);
  background: rgba(0,0,0,0.03);
}

@media (max-width: 900px) {
  .testimonial-navigation {
    position: static;
    margin-top: 1.25rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

/* Remove swiper pagination bullets for testimonials */
.testimonial-section .swiper-pagination {
  display: none;
}

@media (max-width: 900px) {
  .testimonial-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .testimonial-left {
    padding: 0;
  }

  .testimonial-right {
    padding: 0;
    flex-direction: column;
  }

  .testimonial-navigation {
    position: static;
    margin-top: 1.25rem;
    justify-content: flex-start;
  }
}

.swiper-pagination-bullet {
  background: white;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
  opacity: 1;
}

.gallery-section {
  padding: 4rem 2rem;
  background-color: #fff8f0;
  text-align: center;
}

.gallery-header .subtitle {
  font-size: var(--font-sm);
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gallery-header h2 {
  font-size: var(--font-xxl);
  margin-bottom: 1rem;
}

.gallery-header p {
  font-size: var(--font-md);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Base gallery: 4 items per row */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;         /* consistent height */
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;             /* crop to fill */
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Tablet: 2 items per row */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 item per row, show only first 3 images */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid img:nth-child(n+4) {
    display: none;
  }
}

.gallery-button .btn {
  padding: 0.75rem 2rem;
}

 .contact-section {
      display: flex;
      flex-wrap: wrap;
      background: var(--primary-color);
      color: var(--text-color);
      min-height: 600px;
    }

    .contact-left, .contact-right {
      flex: 1;
      min-width: 300px;
      padding: 4rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .contact-left {
      color: white;
    }

    .contact-left h2 {
      font-size: var(--font-xxl);
      margin-bottom: 1rem;
    }

    .contact-left h2 span {
      opacity: 0.65;
      font-weight: 700;
    }

    .contact-left p {
      font-size: var(--font-md);
      max-width: 400px;
    }

    .contact-image {
      margin-top: 2rem;
      max-width: 300px;
    }

    .contact-form {
      background: white;
      padding: 2rem;
      border-radius: 2px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 0.75rem;
      font-size: var(--font-base);
      border: 1px solid #ccc;
      border-radius: 2px;
    }

    .contact-form textarea {
      height: 120px;
      resize: vertical;
    }

    .form-group {
      display: flex;
      gap: 1rem;
    }

    .form-group input {
      flex: 1;
    }

    .contact-form button {
      background: var(--primary-color);
      color: white;
      padding: 0.75rem;
      border: none;
      border-radius: 4px;
      font-weight: 600;
      cursor: pointer;
      font-size: var(--font-md);
    }

    .contact-form button:hover {
      background: var(--accent-color);
    }

    @media (max-width: 768px) {
      .contact-section {
        flex-direction: column;
      }
      .contact-left, .contact-right {
        padding: 2rem;
      }
      .form-group {
        flex-direction: column;
      }
    }


.faq-section {
  background: var(--bg-color);
  padding: 5rem 2rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-container h2 {
  font-size: var(--font-xxl);
  text-align: center;
  margin-bottom: 3rem;
}

.faq-item {
  background: var(--secondary-color);
  border-radius: 2px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: var(--font-md);
  font-weight: 600;
  cursor: pointer;
  color: var(--accent-color);
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1.5rem;
}

.faq-answer p {
  padding: 1rem 0 1.5rem;
  font-size: var(--font-base);
  color: var(--text-color);
}

.site-footer {
  border-top: 4px solid var(--primary-color);
  background-color: var(--bg-color);
  padding: 3rem 2rem 2rem;
  font-size: var(--font-sm);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-logo {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--accent-color);
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--accent-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-contact i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-color);
  font-size: var(--font-xs);
}