/* ============================================================
   LA WoodWorks — style.css

   Color palette:
     --black:      #1C1C1C  (text, nav, footer)
     --cream:      #F5F0E8  (section backgrounds)
     --white:      #FFFFFF  (card / contrast backgrounds)
     --gold:       #C9A96E  (CTA buttons, accents)
     --gold-dark:  #B8924A  (button hover)
     --cream-dark: #E8DCC8  (borders, dividers)

   Fonts:
     Playfair Display — headings
     Inter            — body / UI
============================================================ */

/* ---- Reset & Variables ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:      #1C1C1C;
  --cream:      #F5F0E8;
  --white:      #FFFFFF;
  --gold:       #C9A96E;
  --gold-dark:  #B8924A;
  --cream-dark: #E8DCC8;

  --font-heading: 'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;

  --transition: 0.3s ease;
  --shadow:     0 4px 24px rgba(28, 28, 28, 0.08);
  --radius:     4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  font-size: 1rem;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

ul { list-style: none; }

/* ---- Layout helpers ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 5rem 0; }

.bg-white { background: var(--white); }
.bg-cream  { background: var(--cream); }
.bg-dark   { background: var(--black); }

/* ---- Section labels ---- */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.section-label.center { text-align: center; }
.section-label.light  { color: var(--cream-dark); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 2.5rem;
  line-height: 1.2;
}
.section-title.center { text-align: center; }
.section-title.light  { color: var(--white); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition);
}
.btn:active { transform: scale(0.98); }

.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #333; }

.btn.full-width { width: 100%; text-align: center; }


/* ============================================================
   NAVBAR
============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: transparent;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: var(--black);
  padding: 0.75rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }

.nav-links .nav-cta {
  background: var(--gold);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
}
.nav-links .nav-cta:hover { background: var(--gold-dark); color: var(--white); }

/* ---- Hamburger button (mobile) ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}


/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('front%20page.jpg');
  background-color: #2C1810;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 10, 4, 0.58);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  padding: 2rem 1.5rem;
  color: var(--white);
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: var(--cream-dark);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}


/* ============================================================
   ABOUT
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 480px;
  object-fit: cover;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.about-text p {
  color: #555;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.about-text .btn { margin-top: 0.75rem; }


/* ============================================================
   SERVICES
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 3px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(28, 28, 28, 0.13);
  border-bottom-color: var(--gold);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.service-card p {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.service-card .price {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 0.85rem;
}


/* ============================================================
   GALLERY
============================================================ */
.gallery-intro {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
}

/* ---- Service card ---- */
.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-card:hover img { transform: scale(1.07); }

/* Gold hover overlay */
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(201, 169, 110, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-card:hover .gallery-card-overlay { opacity: 1; }

.gallery-card-overlay span {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--white);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
}

/* Service name label at bottom */
.gallery-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(28, 28, 28, 0.88));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 1.5rem 0.9rem 0.7rem;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

/* ---- Gallery sub-page ---- */
.gallery-page-hero {
  background: var(--black);
  padding: 7rem 0 3.5rem;
  text-align: center;
  color: var(--white);
}

.gallery-page-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  transition: gap var(--transition);
}
.gallery-page-hero .back-link:hover { gap: 0.7rem; }

.gallery-page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.gallery-page-hero p {
  color: var(--cream-dark);
  font-size: 1rem;
}

/* 3-photo grid on gallery sub-pages */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 4rem 0 5rem;
}

.gallery-page-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow);
}

.gallery-page-photo p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  text-align: center;
}

.gallery-page-cta {
  background: var(--cream);
  padding: 4rem 0;
  text-align: center;
}

.gallery-page-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.gallery-page-cta p {
  color: #666;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}


/* ============================================================
   OPENING HOURS
============================================================ */
.hours-wrap {
  max-width: 500px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.9rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--black);
}
.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
}
.hours-table tr:last-child td {
  border-bottom: none;
  color: #999;
}


/* ============================================================
   LOCATION
============================================================ */
.location-address {
  text-align: center;
  margin-bottom: 2rem;
}
.location-address a {
  color: var(--gold);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition);
}
.location-address a:hover { color: var(--gold-dark); }

/* Placeholder shown until the real embed is added */
.map-placeholder {
  width: 100%;
  height: 400px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 2px dashed var(--cream-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: #999;
  text-align: center;
  font-size: 0.95rem;
  padding: 1rem;
}
.map-placeholder p:last-child { font-size: 0.8rem; }

/* Styles applied once the real <iframe> is pasted in */
#location iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--radius);
}


/* ============================================================
   CONTACT
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.contact-details li { font-size: 0.9rem; }
.contact-details a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.contact-details a:hover { color: var(--gold-dark); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #666;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--black);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  text-align: center;
  color: #4caf50;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.25rem;
}


/* ============================================================
   REVIEWS
============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
}

.review-card .stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.review-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.reviewer {
  font-style: normal;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--cream-dark);
  display: block;
}


/* ============================================================
   FOOTER
============================================================ */
#footer {
  background: #111;
  color: rgba(255, 255, 255, 0.65);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--gold); }

.footer-brand p:not(.footer-logo) {
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-contact p {
  font-size: 0.875rem;
  margin-bottom: 0.45rem;
}
.footer-contact a { transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}


/* ============================================================
   RESPONSIVE (mobile-first breakpoints)
============================================================ */

/* Tablet: ≤ 900px */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-img img { height: 340px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile: ≤ 640px */
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }

  /* Show hamburger, hide desktop links */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(290px, 82vw);
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 2.5rem;
    transition: right var(--transition);
    box-shadow: -4px 0 24px rgba(0,0,0,0.4);
  }
  .nav-links.open { right: 0; }

  .nav-links a { font-size: 1rem; }

  .nav-links .nav-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  /* 2-column gallery on small screens */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Stack gallery sub-page photos on mobile */
  .gallery-page-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Stack service cards */
  .services-grid { grid-template-columns: 1fr; }

  /* Stack footer columns */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .hours-wrap { max-width: 100%; }
}
