/* ===========================
   Base + Layout
=========================== */
:root {
  --bg: #f7f4ee;
  --bg-alt: #f1f3f4;
  --card: #ffffff;
  --text: #272727;
  --muted: #6b6b6b;
  --accent: #2f6849;
  --accent-soft: #a7c2b3;
  --border-subtle: rgba(0,0,0,0.06);
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: block;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

/* ===========================
   Header + Nav
=========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fbf8f2;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  backdrop-filter: blur(8px);
  padding: 0.85rem 0 0.65rem;
  transition: padding 0.22s ease, box-shadow 0.22s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-main {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-sub {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  text-transform: none;
  color: var(--muted);
}

.brand {
  display: flex;
  flex-direction: column;
}

/* MOBILE NAV FIX */
@media (max-width: 600px) {
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding: 0 10px;
    white-space: nowrap;
  }

  .nav a {
    font-size: 0.85rem;   /* smaller but readable */
    letter-spacing: 0;    /* <-- important */
    padding: 0.75rem 0.4rem;
    flex: 1;              /* distribute evenly */
    text-align: center;   /* stable alignment */
  }

  /* Stop shrinking the nav text too much */
  .site-header.small .nav a {
    font-size: 0.78rem;
  }
}
/* Restore shrinking for the compact header */
@media (max-width: 600px) {
  .site-header.small .nav a {
    font-size: 0.72rem;      /* slightly smaller when scrolled */
    padding: 0.5rem 0.3rem;  /* tighter padding */
  }
}


/* header shrink state (JS toggles .shrink on scroll) */
.site-header.shrink {
  padding: 0.45rem 0 0.4rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.site-header.shrink .brand-main {
  font-size: 1.08rem;
}

.site-header.shrink .brand-sub {
  font-size: 0.7rem;
}

.site-header.shrink .nav {
  font-size: 0.8rem;
}

/* ===========================
   Hero
=========================== */

.hero {
  padding: 3.5rem 0 4.5rem;
}

.hero-with-banner {
  position: relative;
  color: #fff;
  background-image: url("/images/banner.png");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
}

.hero-with-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.7)
  );
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 2.5rem 0 2.8rem;
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: -22px;
  background: rgba(0,0,0,0.25);
  filter: blur(20px);
  z-index: -1;
  border-radius: 14px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent-soft);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.3vw, 2.6rem);
  margin: 0 0 0.7rem;
}

.hero-lead {
  margin: 0 0 1.3rem;
  font-size: 1rem;
  color: #e6e6e6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.hero-meta {
  font-size: 0.9rem;
  color: #dcdcdc;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.65rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.1s ease,
    box-shadow 0.16s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.24);
}

.btn-primary:hover {
  background: #24513a;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(0,0,0,0.12);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(0,0,0,0.26);
}

/* ===========================
   Sections
=========================== */

.section {
  padding: 3.8rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  margin: 0 0 0.3rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.section-inner.two-col {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.25fr);
  gap: 2.5rem;
  align-items: flex-start;
}

/* About card */

.about-card {
  background: var(--card);
  border-radius: 16px;
  padding: 1.75rem 1.9rem;
  box-shadow: var(--shadow-soft);
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: "Playfair Display", Georgia, serif;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.info-list .label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.12rem;
}

/* Services grid */

.services-grid {
  display: grid;
  gap: 1.8rem;
}

.service-card {
  background: var(--card);
  border-radius: 18px;
  padding: 1.7rem 1.9rem;
  box-shadow: var(--shadow-soft);
}

.service-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
}

.gallery-item {
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.gallery-meta {
  padding: 1.2rem 1.4rem 1.5rem;
}

.gallery-meta h3 {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", Georgia, serif;
}

.gallery-meta p {
  margin: 0;
  color: var(--muted);
}

/* Testimonials */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.testimonial {
  background: var(--card);
  border-radius: 18px;
  padding: 1.8rem 1.9rem;
  box-shadow: var(--shadow-soft);
}

.testimonial p {
  margin: 0 0 0.8rem;
}

.testimonial-name {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Quote form */

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 0.7rem;
  font: inherit;
  resize: vertical;
}

.form-field textarea {
  min-height: 140px;
}

.quote-message {
  font-size: 0.9rem;
  margin: 0.3rem 0 0;
}

.quote-notes {
  background: var(--card);
  border-radius: 18px;
  padding: 1.8rem 1.9rem;
  box-shadow: var(--shadow-soft);
}

/* ===========================
   Footer
=========================== */

.site-footer {
  background: #1c1c1b;
  color: #f5f5f2;
  padding: 2.8rem 0 2.4rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-main h3 {
  margin: 0 0 0.5rem;
  font-family: "Playfair Display", Georgia, serif;
}

.footer-meta p {
  margin: 0;
  font-size: 0.88rem;
}

.footer-meta p + p {
  margin-top: 0.4rem;
}

/* ===========================
   Responsive
=========================== */

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-inner.two-col {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {

  .site-header {
    padding: 0.75rem 0 0.55rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .brand-main {
    font-size: 1.18rem;
  }

  .brand-sub {
    font-size: 0.74rem;
  }

  /* keep nav on one line and centered */
  .nav {
    width: 100%;
    justify-content: center;
    gap: 1.1rem;
    font-size: 0.78rem;
  }

  .nav a {
    white-space: nowrap;
  }

  /* header shrink behaviour on mobile too */
  .site-header.shrink {
    padding: 0.45rem 0 0.4rem;
  }

  .site-header.shrink .brand-main {
    font-size: 1rem;
  }

  .site-header.shrink .brand-sub {
    font-size: 0.66rem;
  }

  .site-header.shrink .nav {
    font-size: 0.7rem;
  }

  /* Shorter labels for long items */
  .nav a[href="#gallery"] {
    font-size: 0;
  }
  .nav a[href="#gallery"]::after {
    content: "Work";
    font-size: 0.8rem;
    letter-spacing: 0.16em;
  }

  .nav a[href="#quote"] {
    font-size: 0;
  }
  .nav a[href="#quote"]::after {
    content: "Quote";
    font-size: 0.8rem;
    letter-spacing: 0.16em;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-inner {
    padding: 1.6rem 1rem 2.4rem;
  }

  .hero-inner::before {
    inset: -16px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .section {
    padding: 3rem 0;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-notes {
    margin-top: 1.8rem;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 2.4rem, 480px);
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===========================
   DESKTOP NAV IMPROVEMENTS
   =========================== */

@media (min-width: 900px) {
  .nav {
    display: flex;
    gap: 2.4rem;        /* Wider spacing between menu items */
    justify-content: center;
    align-items: center;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
  }

  .nav a {
    color: #2a2a2a;
    text-decoration: none;
    position: relative;
    padding: 0.2rem 0;
    transition: color 0.25s ease;
  }

  /* Hover underline — clean, classy */
  .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: #3f4f4a;   /* your green accent color */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }

  .nav a:hover {
    color: #3f4f4a;        /* Dark green hover color */
  }

  .nav a:hover::after {
    transform: scaleX(1);
  }

  /* Active link (when clicked) */
  .nav a.active {
    color: #3f4f4a;
  }
  
  .nav a.active::after {
    transform: scaleX(1);
  }

   #reviews {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}

.review-card {
  background: #ffffff;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.stars {
  font-weight: bold;
  color: #f4b400;
}
}

/* ===========================
   BEFORE & AFTER PAGE (GLOBAL)
=========================== */

.before-after-page {
    max-width: 1100px;
    margin: auto;
    text-align: center;
    padding: 40px 20px;
}

.ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.ba-item {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
}

.ba-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.ba-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.ba-img.after {
    clip-path: inset(0 0 0 50%);
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #fff;
    border: 2px solid #000;
    cursor: ew-resize;
    transition: background 0.2s;
    z-index: 10;
}

.ba-handle:hover {
    background: #ddd;
}

/* prevent highlight/selecting */
.ba-slider, 
.ba-slider * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/* ===========================
   BEFORE & AFTER — THEMED
=========================== */

.before-after-page {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.section-header h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2rem;
}

.section-header p {
    color: var(--muted);
    margin-top: 0.4rem;
}

/* Grid */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Each slider feels like a polished card */
.ba-item {
    background: var(--card);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    padding: 0;
    position: relative;
}

/* Slider container */
.ba-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

/* Images */
.ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

/* Handle */
.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 50px; /* easier to grab */
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 20;
}

/* Visual button on handle */
.ba-handle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 3px solid var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.ba-handle-btn::after {
    content: "< >";
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--accent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%);
}

/* MOBILE */
@media (max-width: 768px) {
    .ba-grid {
        grid-template-columns: 1fr;
    }

    .ba-item {
        aspect-ratio: 1 / 1;
    }
}


/* ===========================
   MOBILE FIX FOR BEFORE/AFTER
=========================== */
@media (max-width: 768px) {

    .ba-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .ba-item {
        width: 100%;
        aspect-ratio: 1 / 1;
    }
}

/* Handle button — bigger touch target */
.ba-handle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38px;
    height: 38px;
    background: white;
    border: 3px solid #000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.ba-handle {
    width: 20px;     /* previously 4px — much easier to grab */
    margin-left: -10px; /* centers the thick handle */
    background: transparent; /* the button handles visuals */
}






