/* ──────────────────────────────────────────────────────────────────────────
   HOLIDAY'S MARKET — Brand Styles
   Palette: Emerald Green (#065f46 / #059669 / #10b981) · Cream (#f5f0e8 / #faf8f4)
   Typography: Playfair Display (headings) · DM Sans (body)
───────────────────────────────────────────────────────────────────────── */

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

:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --cream-100: #f5f0e8;
  --cream-50:  #faf8f4;
  --neutral-900: #1a1a1a;
  --neutral-700: #374151;
  --neutral-500: #6b7280;
  --neutral-300: #d1d5db;
  --neutral-100: #f3f4f6;
  --gold: #d4a853;
  --gold-light: #f0d68a;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.06);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--neutral-900);
  background: var(--cream-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--neutral-900);
}

.section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  color: var(--neutral-900);
}

.section-sub {
  font-size: 1.1rem;
  color: var(--neutral-500);
  max-width: 560px;
  margin: 0 auto;
}

.lead {
  font-size: 1.125rem;
  color: var(--neutral-700);
  line-height: 1.75;
  margin-bottom: 24px;
}

.text-center { text-align: center; }

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm { padding: 10px 20px; font-size: .85rem; }

.btn-emerald {
  background: var(--emerald-600);
  color: #fff;
}
.btn-emerald:hover { background: var(--emerald-700); transform: translateY(-1px); }

.btn-light {
  background: #fff;
  color: var(--emerald-800);
}
.btn-light:hover { background: var(--cream-100); transform: translateY(-1px); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ── HEADER / NAV ────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 95, 70, .08);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--emerald-800);
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--emerald-800);
  border-radius: var(--radius-sm);
  position: relative;
  flex-shrink: 0;
}
.logo-mark::before,
.logo-mark::after {
  content: '';
  position: absolute;
  background: var(--gold);
}
.logo-mark::before {
  width: 16px; height: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.logo-mark::after {
  width: 2px; height: 16px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a:not(.btn) {
  font-size: .9rem;
  font-weight: 500;
  color: var(--neutral-700);
  transition: var(--transition);
  position: relative;
}
.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald-600);
  transition: var(--transition);
}
.main-nav a:not(.btn):hover { color: var(--emerald-700); }
.main-nav a:not(.btn):hover::after { width: 100%; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--neutral-700);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.pexels.com/photos/9212993/pexels-photo-9212993.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 78, 59, .92) 0%,
    rgba(4, 120, 87, .85) 40%,
    rgba(5, 150, 105, .78) 70%,
    rgba(16, 185, 129, .70) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero-headline .accent {
  color: var(--gold-light);
  display: block;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.85);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  color: rgba(255,255,255,.9);
  font-size: .85rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}
.badge svg { width: 16px; height: 16px; }

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ── SECTIONS ────────────────────────────────────────────────────────────── */
.section {
  padding: 100px 0;
}

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

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

.img-stack {
  position: relative;
  height: 600px;
}

.img-stack img:first-child {
  width: 75%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.img-float {
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 55%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream-100);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--neutral-300);
}

.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--emerald-700);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: .85rem;
  color: var(--neutral-500);
}

/* ── DEPARTMENTS ─────────────────────────────────────────────────────────── */
.departments { background: var(--cream-50); }

.section-header { margin-bottom: 60px; }

.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dept-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px 32px;
  border: 1px solid var(--neutral-100);
  transition: var(--transition);
}
.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-500);
}

.dept-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--emerald-800), var(--emerald-600));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.dept-icon svg { width: 28px; height: 28px; color: #fff; }

.dept-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--neutral-900);
}

.dept-card p {
  font-size: .95rem;
  color: var(--neutral-500);
  line-height: 1.7;
}

/* ── WHY US ──────────────────────────────────────────────────────────────── */
.why-us { background: var(--cream-100); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.reasons { margin-top: 40px; }

.reason {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--neutral-300);
}
.reason:first-child { border-top: 1px solid var(--neutral-300); }

.reason-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emerald-500);
  line-height: 1;
}

.reason h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--neutral-900);
}

.reason p {
  font-size: .9rem;
  color: var(--neutral-500);
  line-height: 1.7;
}

.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ── COMMUNITY ───────────────────────────────────────────────────────────── */
.community { background: var(--cream-50); }

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.community-list { margin-top: 28px; }

.community-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: .95rem;
  color: var(--neutral-700);
}

.community-list li svg {
  width: 20px;
  height: 20px;
  color: var(--emerald-600);
  flex-shrink: 0;
}

.community-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.community-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ── VISIT ───────────────────────────────────────────────────────────────── */
.visit { background: var(--cream-100); }

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  border: 1px solid var(--neutral-100);
  transition: var(--transition);
}
.contact-card:hover {
  border-color: var(--emerald-500);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--emerald-800), var(--emerald-600));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; color: #fff; }

.contact-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--neutral-500);
  margin-bottom: 6px;
}

.contact-card p,
.contact-card a {
  font-size: .9rem;
  color: var(--neutral-700);
  line-height: 1.6;
}
.contact-card a:hover { color: var(--emerald-700); }

.visit-map {
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ── CTA ─────────────────────────────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-700) 50%, var(--emerald-600) 100%);
  padding: 100px 0;
  text-align: center;
}

.cta-inner { max-width: 680px; margin: 0 auto; }

.cta .section-eyebrow { color: var(--gold-light); }

.cta .section-title {
  color: #fff;
  margin-bottom: 16px;
}

.cta .lead {
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
}
.cta .lead a {
  color: var(--gold-light);
  font-weight: 600;
}
.cta .lead a:hover { text-decoration: underline; }

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--neutral-900);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: #fff; }

.footer-brand p {
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}

.footer-links li,
.footer-contact li {
  padding: 6px 0;
}

.footer-links a,
.footer-contact a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--emerald-500); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-bottom a:hover { color: var(--emerald-500); }

/* ── REVEAL ANIMATIONS ───────────────────────────────────────────────────── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid,
  .why-grid,
  .community-grid,
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .img-stack { height: 400px; }
  .img-stack img:first-child { width: 85%; }
  .img-float { width: 60%; height: 200px; }

  .why-visual { order: -1; }
  .why-visual img { height: 400px; }

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

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 248, 244, .98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(6, 95, 70, .1);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .main-nav a:not(.btn) {
    font-size: 1.05rem;
    padding: 8px 0;
  }

  .hero { min-height: 100svh; padding: 100px 20px 60px; }
  .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }

  .section { padding: 72px 0; }

  .dept-grid { grid-template-columns: 1fr; }

  .about-stats { grid-template-columns: 1fr; gap: 16px; }

  .contact-cards { grid-template-columns: 1fr; }

  .visit-map { height: 300px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 90px 16px 50px; }
  .section { padding: 56px 0; }
  .dept-card { padding: 28px 24px; }
}
