/* SantaAZ.com Module 02
   Homepage content and services carousel styling.
   Dreamweaver-friendly static HTML/CSS/JavaScript. */

:root {
  --christmas-red: #9f1d26;
  --deep-red: #6f1119;
  --evergreen: #0f5132;
  --deep-green: #07351f;
  --warm-gold: #d9a441;
  --cream: #fff8ea;
  --paper: #fffdf6;
  --ink: #2b1b12;
  --muted: #6b5544;
  --soft-shadow: 0 18px 45px rgba(43, 27, 18, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
a { color: inherit; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 4vw;
  background: var(--deep-green);
  color: white;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.site-logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--warm-gold);
  white-space: nowrap;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  font-size: 0.95rem;
}
.main-nav a, .header-actions a, .site-footer a { text-decoration: none; }
.main-nav a:hover, .site-footer a:hover { text-decoration: underline; }
.header-actions { display: flex; align-items: center; gap: .75rem; white-space: nowrap; }
.menu-toggle { display: none; }

.button {
  display: inline-block;
  background: var(--christmas-red);
  color: white;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid var(--christmas-red);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.button:hover { background: var(--deep-red); border-color: var(--deep-red); transform: translateY(-1px); }
.button-secondary { background: var(--warm-gold); border-color: var(--warm-gold); color: var(--ink); }
.button-small { padding: 0.5rem 0.9rem; font-size: 0.9rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.centered { justify-content: center; }

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 2rem;
  align-items: center;
  padding: 5rem 6vw;
  background: radial-gradient(circle at top left, rgba(217,164,65,.32), transparent 30%), linear-gradient(135deg, #fff8ea, #f3dfbd);
}
.hero-content h1 { font-size: clamp(2.45rem, 6vw, 5rem); line-height: 1; margin: .25rem 0; color: var(--deep-red); }
.eyebrow { color: var(--evergreen); font-weight: bold; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; }
.hero-tagline { font-size: clamp(1.55rem, 3vw, 2.5rem); color: var(--evergreen); margin: .25rem 0 1rem; font-weight: bold; }
.hero-text { font-size: 1.15rem; max-width: 46rem; }
.hero-card { border: 10px solid white; border-radius: 28px; box-shadow: var(--soft-shadow); background: white; overflow: hidden; }
.hero-image-placeholder {
  min-height: 420px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(15,81,50,.92), rgba(159,29,38,.86)), url('../images/hero/santa-mrs-claus-hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}
.small-note { font-size: .9rem; opacity: .82; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--warm-gold);
  color: var(--ink);
  font-weight: bold;
  text-align: center;
}
.trust-strip span { background: #f8e2b4; padding: 1rem; }

.services-section { padding: 4.5rem 5vw; background: var(--deep-green); color: white; }
.section-intro { text-align: center; max-width: 920px; margin: 0 auto 2rem; }
.section-intro h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; margin: .3rem 0 1rem; }
.section-intro p { font-size: 1.08rem; }
.section-intro.compact { color: var(--ink); }

.services-menu {
  max-width: 1120px;
  margin: 0 auto 1.25rem;
  display: flex;
  overflow-x: auto;
  gap: .5rem;
  padding: .5rem;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  scrollbar-width: thin;
}
.services-menu button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: .7rem 1rem;
  background: rgba(255,255,255,.88);
  color: var(--deep-green);
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
}
.services-menu button:hover, .services-menu button.active { background: var(--warm-gold); color: var(--ink); }

.service-feature {
  max-width: 1120px;
  min-height: 430px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--soft-shadow);
  background: var(--deep-green);
}
.service-feature-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(7,53,31,.96), rgba(7,53,31,.55)), url('../images/services/home-visits.jpg');
  background-size: cover;
  background-position: center;
  transition: background-image .25s ease;
}
.service-feature-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: clamp(2rem, 5vw, 4.25rem);
}
.service-feature-content h3 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1; margin: .25rem 0 1rem; color: white; }
.service-feature-content p { font-size: 1.12rem; }
.service-feature-content .eyebrow { color: var(--warm-gold); }

.seasonal-highlights { padding: 4rem 5vw; background: var(--paper); }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 1120px; margin: 0 auto; }
.highlight-grid article { background: white; border-radius: 22px; padding: 1.5rem; box-shadow: 0 10px 25px rgba(43,27,18,.10); border-top: 5px solid var(--warm-gold); }
.highlight-grid h3 { color: var(--deep-red); margin-top: 0; }
.highlight-grid a { color: var(--evergreen); font-weight: bold; }

.testimonials-section { padding: 4rem 6vw; text-align: center; background: #f3dfbd; }
.testimonials-section h2, .booking-cta h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); color: var(--deep-red); }
blockquote { max-width: 760px; margin: 1rem auto 0; font-size: 1.28rem; font-style: italic; }
blockquote cite { display: block; margin-top: 1rem; font-size: 1rem; font-style: normal; color: var(--muted); }
.booking-cta { padding: 4.5rem 6vw; text-align: center; background: var(--cream); }
.booking-cta p { max-width: 800px; margin: 0 auto 1.5rem; font-size: 1.1rem; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--deep-green); color: white; padding: 2rem 4vw; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .menu-toggle { display: inline-block; background: var(--warm-gold); color: var(--ink); border: 0; border-radius: 999px; padding: .55rem .9rem; font-weight: bold; font-family: inherit; }
  .main-nav { display: none; width: 100%; order: 3; justify-content: flex-start; padding-top: .75rem; }
  .main-nav.open { display: flex; }
  .header-actions { margin-left: auto; }
  .hero-section { grid-template-columns: 1fr; padding: 3.25rem 5vw; }
  .hero-image-placeholder { min-height: 320px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .highlight-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .phone-link { display: none; }
  .trust-strip { grid-template-columns: 1fr; }
  .service-feature { min-height: 520px; }
  .service-feature-bg { background-image: linear-gradient(0deg, rgba(7,53,31,.96), rgba(7,53,31,.62)), url('../images/services/home-visits.jpg'); }
  .button-row { align-items: stretch; }
  .button-row .button { width: 100%; text-align: center; }
}


/* Module 03 additions: service detail pages, booking/contact blocks */
.page-hero {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, rgba(127,29,29,.95), rgba(22,101,52,.92));
  color: #fff;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 0 0 .75rem; }
.page-hero p { max-width: 820px; margin: 0 auto; font-size: 1.15rem; line-height: 1.7; }
.detail-wrap { max-width: 1120px; margin: 0 auto; padding: 3rem 1.25rem; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 2rem; align-items: start; }
.detail-card, .booking-card, .faq-card { background: #fffaf0; border: 1px solid rgba(127,29,29,.18); border-radius: 20px; padding: 1.5rem; box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.detail-card h2, .booking-card h2, .faq-card h2 { color: #7f1d1d; margin-top: 0; }
.detail-image { width: 100%; border-radius: 22px; border: 6px solid #fff; box-shadow: 0 14px 32px rgba(0,0,0,.18); }
.check-list { padding-left: 1.2rem; line-height: 1.75; }
.check-list li::marker { color: #166534; }
.form-grid { display: grid; gap: 1rem; }
.form-grid label { font-weight: 700; color: #4b1d1d; display: grid; gap: .35rem; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; border: 1px solid rgba(0,0,0,.22); border-radius: 10px; padding: .8rem; font: inherit; background: #fff; box-sizing: border-box; }
.form-note { font-size: .92rem; opacity: .8; line-height: 1.5; }
.related-links { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1rem; }
.related-links a { background:#166534; color:#fff; padding:.7rem 1rem; border-radius:999px; text-decoration:none; font-weight:700; }
@media (max-width: 820px) { .detail-grid { grid-template-columns: 1fr; } }

/* Module 04 additions: Gallery and Reviews pages */
.section-heading { max-width: 880px; margin: 0 auto 2rem; text-align: center; }
.section-heading h2 { color: var(--deep-red); font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: .6rem; }
.section-heading p { font-size: 1.08rem; line-height: 1.7; color: var(--muted); }
.gallery-section, .reviews-section-page { padding: 4rem 5vw; background: var(--paper); }
.gallery-filters { display:flex; gap:.65rem; flex-wrap:wrap; justify-content:center; margin:0 auto 2rem; max-width:1100px; }
.gallery-filters button { border:2px solid rgba(127,29,29,.22); background:#fffaf0; color:var(--deep-red); border-radius:999px; padding:.7rem 1rem; font-weight:800; font-family:inherit; cursor:pointer; }
.gallery-filters button.active, .gallery-filters button:hover { background:var(--deep-red); color:white; }
.gallery-grid { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:1.25rem; max-width:1280px; margin:0 auto; }
.gallery-card { background:#fffaf0; border-radius:24px; overflow:hidden; box-shadow:0 14px 30px rgba(0,0,0,.11); border:1px solid rgba(127,29,29,.15); }
.gallery-card img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.gallery-card-copy { padding:1.1rem; }
.gallery-card-copy h2 { color:var(--deep-red); margin:.2rem 0 .5rem; font-size:1.25rem; }
.gallery-card-copy p { line-height:1.55; }
.reviews-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:1.25rem; max-width:1150px; margin:0 auto; }
.review-card { background:#fffaf0; border-radius:24px; padding:1.6rem; box-shadow:0 14px 30px rgba(0,0,0,.1); border-top:6px solid var(--warm-gold); }
.review-card blockquote { margin:0; font-size:1.08rem; line-height:1.7; font-style:italic; }
.review-card p { margin:.8rem 0 0; }
@media (max-width: 1050px) { .gallery-grid { grid-template-columns:repeat(2, minmax(0,1fr)); } .reviews-grid { grid-template-columns:1fr 1fr; } }
@media (max-width: 640px) { .gallery-grid, .reviews-grid { grid-template-columns:1fr; } .gallery-filters { justify-content:flex-start; overflow-x:auto; flex-wrap:nowrap; padding-bottom:.5rem; } .gallery-filters button { white-space:nowrap; } }

/* Module 06: booking form, FAQ, and lightweight CMS workflow */
.compact-hero {
  padding-block: 3rem;
}
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 2rem;
  align-items: start;
}
.booking-form {
  display: grid;
  gap: .75rem;
  max-width: 720px;
}
.booking-form label {
  font-weight: 700;
}
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: .85rem;
  border: 1px solid #d5c3a3;
  border-radius: .6rem;
  font: inherit;
  background: #fffdf8;
}
.field-error {
  border-color: #9b1c1c !important;
  outline: 2px solid rgba(155, 28, 28, .15);
}
.form-status {
  min-height: 1.4rem;
  font-weight: 700;
}
.sidebar-card {
  border-radius: 1rem;
  padding: 1.5rem;
  background: #fff8e7;
  border: 1px solid #ead8b6;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.large-phone {
  font-size: 1.45rem;
  font-weight: 800;
}
.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 900px;
  margin-inline: auto;
}
.faq-item {
  background: #fffdf8;
  border: 1px solid #ead8b6;
  border-radius: .85rem;
  padding: 1rem 1.25rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: #7a1f1f;
}
@media (max-width: 800px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}


/* Module 09 additions */
.narrow-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.narrow-content h1,
.narrow-content h2 {
  color: var(--color-evergreen, #0f3d2e);
}
.narrow-content p {
  line-height: 1.7;
}
