/* ================================================
   SANT MISTRI CARPENTER — STYLESHEET
   style.css
   
   TABLE OF CONTENTS:
   1.  CSS Variables (Color Palette & Tokens)
   2.  Reset & Base Styles
   3.  Utility / Reusable Classes
   4.  Fade-in Animation
   5.  Header & Navigation
   6.  Mobile Menu & Hamburger
   7.  Hero Section
   8.  Services Section
   9.  Projects Section
   10. Gallery Section
   11. Testimonials Section
   12. About Section
   13. Contact Section
   14. Footer
   15. Responsive — Tablet (max 900px)
   16. Responsive — Mobile (max 560px)
================================================ */


/* ================================================
   1. CSS VARIABLES — WOOD THEME COLOR PALETTE
   These variables are used everywhere below.
   Change a color here and it updates the whole site.
================================================ */
:root {
  --walnut:     #2C1A0E;  /* Deep dark brown  — headings, footer bg    */
  --oak:        #7A4A28;  /* Mid warm brown    — accents, borders       */
  --grain:      #A0673A;  /* Lighter grain     — hover, highlights      */
  --gold:       #C4943A;  /* Warm gold         — CTA buttons, accents   */
  --sand:       #E8D5B7;  /* Light sand        — section backgrounds    */
  --cream:      #F7F0E3;  /* Warm cream        — card backgrounds       */
  --offwhite:   #FDFAF5;  /* Near-white        — page base              */
  --text-dark:  #1E1008;  /* Body text on light backgrounds             */
  --text-mid:   #5C3D22;  /* Muted / secondary text                     */
  --text-light: #FAF3E8;  /* Text on dark backgrounds                   */

  --radius:     4px;
  --shadow-sm:  0 2px 8px  rgba(44, 26, 14, 0.10);
  --shadow-md:  0 6px 24px rgba(44, 26, 14, 0.14);
  --shadow-lg:  0 16px 48px rgba(44, 26, 14, 0.20);
  --transition: 0.3s ease;
}


/* ================================================
   2. RESET & BASE STYLES
   Removes default browser padding/margin,
   sets up box-sizing and base font.
================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; /* Enables smooth anchor scrolling */
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--offwhite);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden; /* Prevents horizontal scroll on mobile */
}

img {
  max-width: 100%;
  display: block; /* Removes inline image gap */
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}


/* ================================================
   3. UTILITY / REUSABLE CLASSES
   Used across multiple sections.
================================================ */

/* Centered, max-width content wrapper */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Small uppercase label above section headings */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* Main section heading */
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--walnut);
  margin-bottom: 16px;
}

/* Subtitle / description below heading */
.section-desc {
  max-width: 560px;
  color: var(--text-mid);
  font-size: 1.02rem;
  font-weight: 300;
}

/* Wrapper for the label + title + desc group */
.section-head {
  margin-bottom: 52px;
}

/* Base button styles — shared by all button variants */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.wa-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
  margin-right: 0.45rem;
  vertical-align: middle;
}

/* Gold filled button (primary CTA) */
.btn-gold {
  background: var(--gold);
  color: var(--walnut);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

/* Outlined ghost button (on dark backgrounds) */
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Green WhatsApp button */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1ebb56;
  border-color: #1ebb56;
}


/* ================================================
   4. FADE-IN ANIMATION
   Elements with class "fade-in" start invisible.
   JavaScript adds "visible" class when they scroll
   into view, triggering the CSS transition below.
================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ================================================
   5. HEADER & NAVIGATION
   Fixed sticky header that stays at top on scroll.
   Gets a shadow class added by JS when page scrolls.
================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(44, 26, 14, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 148, 58, 0.2);
  transition: var(--transition);
}

/* Shadow added by JS when user scrolls down */
#header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Flex row inside the header */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo wrapper */
.nav-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Logo image — sized for the header bar */
.nav-logo-img {
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  filter: brightness(1.05) drop-shadow(0 1px 6px rgba(0, 0, 0, 0.3));
}

/* Fallback text shown when logo image is missing */
.logo-fallback {
  display: none; /* JS/onerror reveals this if image fails */
  flex-direction: column;
}
.logo-fallback .logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 0.01em;
}
.logo-fallback .logo-tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* Desktop nav link list */
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  color: rgba(250, 243, 232, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 3px;
}
/* Underline slide-in animation on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover {
  color: var(--text-light);
}
.nav-links a:hover::after {
  width: 100%;
}

/* "Call Now" pill button in nav */
.nav-cta {
  background: var(--gold);
  color: var(--walnut);
  padding: 9px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}
.nav-cta:hover {
  background: #d4a440;
}


/* ================================================
   6. MOBILE MENU & HAMBURGER BUTTON
   Hidden on desktop, shown on mobile via media query.
   JS toggles .open class to show/hide menu.
================================================ */

/* Hamburger icon — three horizontal bars */
.hamburger {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: var(--transition);
}

/* Animate hamburger → X when open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown menu */
.mobile-menu {
  display: none; /* Hidden by default */
  flex-direction: column;
  background: var(--walnut);
  border-top: 1px solid rgba(196, 148, 58, 0.2);
  padding: 12px 24px 20px;
  gap: 4px;
}
.mobile-menu a {
  color: rgba(250, 243, 232, 0.82);
  font-size: 0.95rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 500;
}
/* Gold phone link in mobile menu */
.mobile-phone-link {
  color: var(--gold) !important;
  font-weight: 700 !important;
}

/* JS adds .open to show the dropdown */
.mobile-menu.open {
  display: flex;
}


/* ================================================
   7. HERO SECTION
   Full-screen dark section with wood-grain texture,
   decorative accents, and heading + CTAs.
================================================ */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--walnut);
}

/* Layered gradient "wood grain" background */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      92deg,
      transparent 0px,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 2px,
      transparent 60px
    ),
    linear-gradient(160deg, #3D1F0D 0%, #1E0D05 55%, #2C1A0E 100%);
}

/* Diagonal colour panel — decorative right-side accent */
.hero-accent {
  position: absolute;
  right: -60px; top: 0; bottom: 0;
  width: 55%;
  background: linear-gradient(135deg, rgba(122, 74, 40, 0.22) 0%, rgba(196, 148, 58, 0.07) 100%);
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* Concentric ring decoration — faint wood rings */
.hero-ring {
  position: absolute;
  right: 8%; top: 50%;
  transform: translateY(-50%);
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(196, 148, 58, 0.12);
  pointer-events: none;
}
.hero-ring::before {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(196, 148, 58, 0.08);
}
.hero-ring::after {
  content: '';
  position: absolute;
  inset: 70px;
  border-radius: 50%;
  border: 1px solid rgba(196, 148, 58, 0.05);
}

/* Content wrapper — sits above decorative layers */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

/* Large logo in hero area */
.hero-logo-img {
  height: 80px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  margin-bottom: 28px;
  display: block;
  filter: drop-shadow(0 2px 16px rgba(196, 148, 58, 0.4)) brightness(1.05);
}

/* Pill badge at the top of hero text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 148, 58, 0.15);
  border: 1px solid rgba(196, 148, 58, 0.35);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
/* Gold dot before badge text */
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* Main hero headline */
.hero-h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--text-light);
  font-weight: 800;
  max-width: 680px;
  margin-bottom: 22px;
  line-height: 1.12;
}
.hero-h1 em {
  font-style: italic;
  color: var(--gold); /* Italic gold word in headline */
}

/* Subtitle paragraph */
.hero-sub {
  color: rgba(250, 243, 232, 0.65);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 42px;
  font-weight: 300;
  line-height: 1.7;
}

/* CTA button group */
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
}

/* Stats row at the bottom of hero */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-lbl {
  font-size: 0.78rem;
  color: rgba(250, 243, 232, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}


/* ================================================
   8. SERVICES SECTION
   Grid of service cards with hover animation.
================================================ */
#services {
  padding: 100px 0;
  background: var(--cream);
}

/* Auto-fit responsive grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

/* Individual service card */
.service-card {
  background: var(--offwhite);
  border: 1px solid rgba(122, 74, 40, 0.12);
  border-radius: 8px;
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
/* Gold underline that slides in on hover */
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--grain));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 148, 58, 0.25);
}
.service-card:hover::before {
  transform: scaleX(1);
}

/* Emoji icon box */
.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--sand), var(--cream));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.55rem;
}
.service-card h3 {
  font-size: 1.12rem;
  color: var(--walnut);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.6;
}


/* ================================================
   9. PROJECTS SECTION — Before & After
   Alternating two-column layout for project rows.
================================================ */
#projects {
  padding: 100px 0;
  background: var(--offwhite);
}

/* Vertical stack of project rows */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

/* Each project row — images left, info right */
.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
/* Even-numbered projects flip the column order */
.project-item:nth-child(even) .project-images { order: 2; }
.project-item:nth-child(even) .project-info   { order: 1; }

/* Two-column before/after image grid */
.project-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Individual image card with overflow hidden for zoom effect */
.img-card {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
/* "Before" / "After" label badge */
.img-card .img-label {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(44, 26, 14, 0.78);
  color: var(--text-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}
.img-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.img-card:hover img {
  transform: scale(1.04); /* Subtle zoom on hover */
}

/* Large faint number behind project heading */
.project-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 6px;
}
.project-info h3 {
  font-size: 1.55rem;
  color: var(--walnut);
  margin-bottom: 12px;
}
.project-info p {
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* Row of pill-shaped meta info chips */
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.meta-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--oak);
  background: var(--sand);
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 500;
}


/* ================================================
   10. GALLERY SECTION
   Asymmetric grid with hover zoom + overlay.
================================================ */
#gallery {
  padding: 100px 0;
  background: var(--walnut);
}
/* Override section title and desc colors for dark background */
#gallery .section-title { color: var(--text-light); }
#gallery .section-desc  { color: rgba(250, 243, 232, 0.58); }

/* 4-column grid; some items span 2 columns */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

/* Make 1st and 6th items wider */
.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
  grid-column: span 2;
}

.gallery-item {
  overflow: hidden;
  border-radius: 5px;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.9);
}
/* Wider items get taller images */
.gallery-item:nth-child(1) img,
.gallery-item:nth-child(6) img {
  height: 300px;
}
/* Zoom + brighten on hover */
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}

/* Dark gradient overlay with caption — slides in on hover */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 26, 14, 0.65), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay span {
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}


/* ================================================
   11. TESTIMONIALS SECTION
   Cards with quote mark, star rating, and author.
================================================ */
#testimonials {
  padding: 100px 0;
  background: var(--sand);
}

/* Auto-fit responsive grid */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* Individual testimonial card */
.testi-card {
  background: var(--offwhite);
  border-radius: 8px;
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  border-left: 4px solid var(--gold); /* Gold left accent bar */
  transition: var(--transition);
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Large decorative opening quotation mark */
.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--sand);
  line-height: 0.6;
  margin-bottom: 16px;
  display: block;
}

/* Star rating row */
.stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

/* Review body text */
.testi-text {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 24px;
  font-style: italic;
}

/* Author row — avatar + name + role */
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--sand);
}
.author-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.author-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--walnut);
}
.author-role {
  font-size: 0.78rem;
  color: var(--text-mid);
}


/* ================================================
   12. ABOUT SECTION
   Two-column: photo on left, text on right.
================================================ */
#about {
  padding: 100px 0;
  background: var(--offwhite);
}

/* Two-column layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* Photo wrapper with decorative offset gold border */
.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 6px;
}
/* Decorative gold border offset behind the photo */
.about-image-wrap::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: 16px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  z-index: -1;
}

/* "5+ Years" badge in bottom-right corner of photo */
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--walnut);
  color: var(--text-light);
  padding: 22px 26px;
  border-radius: 6px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge .badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.about-badge .badge-txt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250, 243, 232, 0.65);
}

/* Body paragraphs in about section */
.about-para {
  color: var(--text-mid);
  font-weight: 300;
  margin-bottom: 12px;
  line-height: 1.8;
}

/* Bullet point list */
.about-points {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.point-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}
.about-point p {
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 300;
}

/* CTA button below about text */
.about-cta {
  margin-top: 10px;
}


/* ================================================
   13. CONTACT SECTION
   Dark wood background with contact methods + form.
================================================ */
#contact {
  padding: 100px 0;
  background: linear-gradient(160deg, #3D1F0D 0%, #2C1A0E 100%);
  position: relative;
  overflow: hidden;
}
/* Override heading/desc color for dark background */
#contact .section-title { color: var(--text-light); }
#contact .section-desc  { color: rgba(250, 243, 232, 0.55); }

/* Subtle texture overlay on contact section background */
.contact-bg-texture {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    88deg,
    transparent 0px,
    rgba(255, 255, 255, 0.008) 1px,
    transparent 2px,
    transparent 80px
  );
  pointer-events: none;
}

/* Two-column layout: contact info left, form right */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

/* Contact method rows (phone, WA, hours, location) */
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  transition: var(--transition);
  color: var(--text-light);
}
.contact-method:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(196, 148, 58, 0.3);
}

/* WhatsApp row — the whole thing is a link */
.whatsapp-method-link {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  color: var(--text-light);
}

/* Square icon box in contact methods */
.method-icon {
  width: 46px; height: 46px;
  background: rgba(196, 148, 58, 0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
/* Green-tinted icon box for WhatsApp row */
.method-icon--whatsapp {
  background: rgba(37, 211, 102, 0.15);
}

/* Small uppercase label above the value */
.method-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 3px;
}
/* Main contact info value */
.method-value {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-light);
}
/* Green WhatsApp value */
.method-value--green { color: #25D366; }
/* Smaller text for hours / location */
.method-value--sm { font-size: 0.92rem; }

/* Full-width WhatsApp button below method list */
.whatsapp-full-btn {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
  font-size: 1rem;
}

/* ---- Contact Form Card ---- */
.contact-form {
  background: var(--offwhite);
  border-radius: 10px;
  padding: 44px;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  font-size: 1.45rem;
  color: var(--walnut);
  margin-bottom: 8px;
}
.form-intro {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 28px;
  font-weight: 300;
}

/* Two-column row inside the form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Individual field wrapper */
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--oak);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(122, 74, 40, 0.18);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fff;
  transition: border-color var(--transition);
  outline: none;
  appearance: auto;
}
/* Gold border + soft glow on focus */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 148, 58, 0.12);
}
/* Vertically resizable textarea */
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

/* Form submit button — full width gold */
.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--gold);
  color: var(--walnut);
  border: none;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.03em;
}
.form-submit:hover {
  background: #d4a440;
  transform: translateY(-1px);
}
.form-submit:disabled {
  cursor: not-allowed;
}

/* Success message box — hidden by default, shown by JS */
.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 6px;
  color: #1a7a3e;
  font-weight: 500;
  margin-top: 16px;
  font-size: 0.95rem;
}


/* ================================================
   14. FOOTER
   Dark footer with logo, links, and contact info.
================================================ */
#footer {
  background: #160A04;
  color: rgba(250, 243, 232, 0.65);
  padding: 60px 0 28px;
}

/* Three-column footer layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* Logo image in footer */
.footer-logo-img {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 14px;
  display: block;
  opacity: 0.9;
  filter: brightness(1.1);
}
.footer-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 4px;
}
.footer-brand .brand-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-brand .brand-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  font-weight: 300;
  max-width: 300px;
}

/* Column headings in footer */
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col li {
  margin-bottom: 11px;
}
.footer-col li a {
  font-size: 0.9rem;
  color: rgba(250, 243, 232, 0.6);
  transition: color var(--transition);
}
.footer-col li a:hover {
  color: var(--text-light);
}
/* Non-link text items in footer (e.g. hours, location) */
.footer-info-text {
  font-size: 0.9rem;
  color: rgba(250, 243, 232, 0.45);
}

/* Bottom bar — copyright row */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  font-size: 0.82rem;
}


/* ================================================
   15. RESPONSIVE — TABLET (max-width: 900px)
   Collapses multi-column layouts to single column.
================================================ */
@media (max-width: 900px) {

  /* Hide desktop nav links, show hamburger button */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Stack about and contact grids */
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  /* Center the about photo */
  .about-image-wrap {
    max-width: 500px;
    margin: 0 auto;
  }

  /* Stack project rows */
  .project-item {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* Reset alternating order on mobile */
  .project-item:nth-child(even) .project-images { order: 0; }
  .project-item:nth-child(even) .project-info   { order: 0; }

  /* Footer: 2 columns */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }

  /* Gallery: 2 columns */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) { grid-column: span 2; }

  /* Form: stack name + phone fields */
  .form-row { grid-template-columns: 1fr; }
}


/* ================================================
   16. RESPONSIVE — MOBILE (max-width: 560px)
   Further adjustments for small phones.
================================================ */
@media (max-width: 560px) {

  /* Stack hero buttons vertically */
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 20px; }

  /* Narrower padding on contact form */
  .contact-form { padding: 28px 20px; }

  /* Footer: single column */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

  /* Gallery stays 2 columns */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) { grid-column: span 2; }

  /* Before/after images stack vertically */
  .project-images { grid-template-columns: 1fr; }
  .img-card img { height: 180px; }

  /* Footer bottom bar stacks */
  .footer-bottom { flex-direction: column; text-align: center; }
}
