/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brown-dark: #3d2b1f;
  --brown-mid:  #6b4c35;
  --brown-light: #c8b89a;
  --cream:      #f9f5f0;
  --cream-dark: #ede8e0;
  --white:      #ffffff;
  --text:       #2c1f14;
  --text-muted: #6b5c4f;
  --accent:     #a0522d;
  --accent-hover: #7a3e21;
  --gold:       #c9962a;

  --header-h: 72px;
  --radius:   8px;
  --shadow:   0 4px 24px rgba(61,43,31,.12);
  --shadow-lg: 0 8px 40px rgba(61,43,31,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: 'Playfair Display', serif; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.2; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 560px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}

#header.scrolled {
  background: var(--brown-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link { display: flex; align-items: center; }
.logo-link img { height: 72px; width: auto; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
}

#main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

#main-nav a {
  color: rgba(255,255,255,.88);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}
#main-nav a:hover { color: var(--white); }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: .55rem 1.4rem;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--accent-hover) !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.mobile-nav {
  background: var(--brown-dark);
  display: flex;
  flex-direction: column;
  padding: 1rem 24px 1.5rem;
  gap: .8rem;
}
.mobile-nav a {
  color: rgba(255,255,255,.88);
  font-weight: 500;
  font-size: 1rem;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hidden { display: none !important; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/uploads/hero-bg.jpg') center/cover no-repeat;
  background-color: var(--brown-dark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(39,22,11,.75) 0%, rgba(61,43,31,.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-eyebrow {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 1rem;
}

.hero-content h1 {
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  color: rgba(255,255,255,.85);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 20px;
  position: relative;
}
.hero-scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.7);
  border-radius: 2px;
  animation: scrollBounce 1.8s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ===== ABOUT ===== */
.about { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--brown-light);
}
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.about-text h2 { margin-bottom: 1.2rem; }
.about-text p  { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; }

/* ===== SERVICES ===== */
.services { background: var(--white); }
.services h2 { margin-bottom: 3rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.service-icon {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
}
.service-card h3 { margin-bottom: .7rem; color: var(--brown-dark); }
.service-card p  { color: var(--text-muted); font-size: .95rem; }

/* ===== GALLERY / SLIDER ===== */
.gallery {
  background: var(--cream-dark);
  padding-bottom: 80px;
}
.gallery .container { padding-bottom: 0; }
.gallery .section-sub { margin-bottom: 2rem; }

.slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--brown-dark);
  aspect-ratio: 16/7;
  margin: 0;
}

@media (max-width: 700px) {
  .slider-wrap { aspect-ratio: 4/3; }
}

/* Track holds all slides side-by-side */
.slider-track {
  display: flex;
  height: 100%;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient overlay at bottom for caption legibility */
.slide::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(22,12,5,.65));
  pointer-events: none;
}

/* Arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,.25);
  color: var(--white);
  font-size: 1.4rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  line-height: 1;
}
.slider-btn:hover {
  background: rgba(255,255,255,.3);
  transform: translateY(-50%) scale(1.08);
}
.slider-btn-prev { left: 1.25rem; }
.slider-btn-next { right: 1.25rem; }

/* Caption */
.slider-caption {
  position: absolute;
  bottom: 3.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
  transition: opacity .3s;
}

/* Counter  e.g. "3 / 6" */
.slider-counter {
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 20px;
  z-index: 10;
  letter-spacing: .04em;
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.slider-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* Thumbnail strip */
.slider-thumbs {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  padding: .8rem 0 .2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--brown-light) transparent;
}
.slider-thumbs::-webkit-scrollbar { height: 4px; }
.slider-thumbs::-webkit-scrollbar-track { background: transparent; }
.slider-thumbs::-webkit-scrollbar-thumb { background: var(--brown-light); border-radius: 2px; }

.slider-thumb {
  min-width: 90px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: .55;
  transition: opacity .2s, outline .2s;
  flex-shrink: 0;
  border: none;
  padding: 0;
  background: var(--brown-light);
  outline: 2px solid transparent;
}
.slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slider-thumb.active {
  opacity: 1;
  outline-color: var(--accent);
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--brown-dark); }
.testimonials .section-eyebrow { color: var(--gold); }
.testimonials h2 { color: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 2rem;
}

.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: .1em; }

.testimonial-quote {
  color: rgba(255,255,255,.85);
  font-size: .97rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author strong { color: var(--white); display: block; }
.testimonial-author span  { color: var(--brown-light); font-size: .85rem; }

/* Google rating badge */
.google-rating-badge {
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  font-weight: 500;
  margin-top: .75rem;
}

/* Google review cards */
.testimonial-card-top {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .9rem;
}

.reviewer-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.reviewer-name {
  display: block;
  color: var(--white);
  font-size: .9rem;
}

.review-time {
  color: var(--brown-light);
  font-size: .78rem;
}

.google-icon {
  margin-left: auto;
  opacity: .7;
  transition: opacity .2s;
}
.google-icon:hover { opacity: 1; }

/* ===== SCHEDULER ===== */
.scheduler { background: var(--white); }

.scheduler-steps { max-width: 700px; margin: 0 auto; }

.sched-step { display: none; }
.sched-step.active { display: block; }

.sched-step-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--brown-dark);
}
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700;
  flex-shrink: 0;
}
.sched-selected-label {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

/* Calendar */
.calendar-wrap {
  background: var(--cream);
  border-radius: 12px;
  padding: 1.5rem;
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.cal-nav button {
  background: none;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  width: 36px; height: 36px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text);
  transition: border-color .2s;
}
.cal-nav button:hover { border-color: var(--accent); color: var(--accent); }
#cal-month-label { font-weight: 700; font-size: 1.05rem; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}
.cal-dow {
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: .3rem 0;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  cursor: default;
  border: 1.5px solid transparent;
  transition: all .15s;
}
.cal-day.empty { background: transparent; }
.cal-day.past, .cal-day.unavailable {
  color: var(--brown-light);
  background: transparent;
}
.cal-day.available {
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  border-color: var(--cream-dark);
}
.cal-day.available:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.cal-day.selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.cal-day.today { border-color: var(--gold) !important; }

/* Time slots */
.timeslots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.slot-btn {
  padding: .75rem;
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
}
.slot-btn:hover, .slot-btn.selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Form */
.sched-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 500px) { .sched-form-row { grid-template-columns: 1fr; } }

.sched-form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.2rem;
}

/* Back button */
.sched-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: .9rem;
  cursor: pointer;
  padding: 0;
  transition: color .2s;
}
.sched-back:hover { color: var(--accent); }

/* Note text */
.sched-note { color: var(--text-muted); font-size: .9rem; margin-top: 1rem; }
.sched-note a { color: var(--accent); }

/* Confirmation */
.sched-confirm {
  text-align: center;
  padding: 3rem 1rem;
}
.confirm-icon { font-size: 3rem; margin-bottom: 1rem; }
.sched-confirm h3 { font-size: 1.8rem; margin-bottom: .75rem; }
.sched-confirm p  { color: var(--text-muted); margin-bottom: 1rem; }
.sched-confirm .btn { margin-top: 1rem; }

/* ===== CONTACT ===== */
.contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--text-muted);
}
.contact-details svg { color: var(--accent); flex-shrink: 0; }
.contact-details a:hover { color: var(--accent); }

.contact-form-wrap {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 { margin-bottom: 1.8rem; color: var(--brown-dark); }

.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-weight: 500;
  font-size: .9rem;
  margin-bottom: .4rem;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color .2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.form-status {
  margin-top: 1rem;
  font-size: .9rem;
  text-align: center;
  min-height: 1.5rem;
}
.form-status.success { color: #2e7d32; }
.form-status.error   { color: #c62828; }

/* ===== FOOTER ===== */
#footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-brand img { height: 64px; margin: 0 auto .5rem; }
.footer-brand p   { font-size: .9rem; }

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

.footer-copy { font-size: .8rem; color: rgba(255,255,255,.4); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox img {
  max-height: 80vh;
  max-width: 90vw;
  object-fit: contain;
  border-radius: var(--radius);
}

#lightbox-caption {
  color: rgba(255,255,255,.75);
  margin-top: 1rem;
  font-size: .95rem;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none; border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  padding: .8rem 1rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .2s;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  #main-nav { display: none; }
  .hamburger { display: block; }
}

@media (max-width: 600px) {
  .section { padding: 70px 0; }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 240px; justify-content: center; }

  .contact-form-wrap { padding: 1.5rem; }

  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }

  .slider-btn { width: 40px; height: 40px; font-size: 1.1rem; }
  .slider-btn-prev { left: .5rem; }
  .slider-btn-next { right: .5rem; }

  .slider-thumbs { gap: .4rem; }
  .slider-thumb  { min-width: 64px; height: 46px; }
}
