/* Basic reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: var(--text); background: #fff url('/assets/img/background.png') center top / cover no-repeat fixed; }

:root {
  --bg: #ffffff;
  --text: #e91e63;       /* pink text */
  --muted: #e91e63;      /* secondary text also pink */
  --brand: #e91e63;      /* brand to pink */
  --brand-2: #d6c2a1;    /* light latte */
  --accent: #e91e63;     /* links to pink */
  --soft-gray: #7a7d87;  /* pastel gray for selected texts */
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Force the same look in dark mode */
    --bg: #ffffff;
    --text: #e91e63;
    --muted: #e91e63;
    --brand: #e91e63;
    --brand-2: #d6c2a1;
    --accent: #e91e63;
  }
  /* Keep the same background image in dark mode; only ensure text color */
  body { color: var(--text); }
}

.container { width: min(1100px, 92%); margin: 0 auto; }
.narrow { width: min(820px, 92%); }

.site-header {
  position: relative;
  top: 0;
  min-height: 80vh; /* ~80% of the viewport height */
  overflow: hidden; /* hide overflow */
  border-bottom: none;
  z-index: 10;
}
/* Header background via ::before so JS can swap a CSS var */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--header-bg, url('/assets/img/headers/header1.png'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
/* (Zoom removed) Using header background directly */

/* (Zoom keyframes removed) */
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30);
  pointer-events: none;
}
.site-header .header-inner { position: relative; z-index: 2; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--brand); letter-spacing: 0.2px; }
.brand .logo { font-size: 20px; }
.brand .logo-img { height: 80px; max-height: 80px; width: auto; display: inline-block; vertical-align: middle; }
.brand #logo-fallback { display: none; }
.brand .name { font-size: 1.5em; font-weight: 800; }
.nav a { color: var(--text); text-decoration: none; margin-left: 16px; font-weight: 500; }
.nav a:hover { color: var(--brand); }

/* Header text: bigger + white for contrast */
.site-header .brand,
.site-header .brand .name,
.site-header .nav a { color: #ffffff; font-weight: 800; }
.site-header .nav a { font-size: 1.5em; }
.site-header .nav a:hover { color: #eaeaea; }

/* Position nav to start from screen center */
.site-header .header-inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.site-header .nav { position: static; left: auto; transform: none; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.site-header .social { display: flex; gap: 10px; margin-top: 8px; }
.site-header .social .badge { display: inline-block; width: 28px; height: 28px; line-height: 28px; text-align: center; border-radius: 50%; background: rgba(255,255,255,0.18); color: #fff; font-weight: 800; letter-spacing: 0.5px; }

.hero { background: transparent; color: var(--text); padding: 78px 0; }
@media (prefers-color-scheme: dark) { .hero { background: var(--bg); color: var(--text); } }
.hero h1 { font-size: clamp(28px, 5vw, 44px); margin: 0 0 10px; }
.lead { font-size: clamp(16px, 2.5vw, 20px); margin: 0 0 24px; color: var(--text); }
@media (prefers-color-scheme: dark) { .lead { color: var(--text); } }
.cta { display: inline-block; background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 8px; text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.cta:hover { background: #734a28; }

/* Intro image + justified copy block */
.intro-block { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: 20px; align-items: start; margin-top: 26px; }
.intro-img { width: 100%; height: auto; border-radius: 10px; display: block; }
.intro-text { text-align: justify; }
.intro-text p { color: var(--soft-gray); }
.intro-title { margin: 0 0 10px; font-size: 22px; }
.intro-credit { margin-top: 10px; font-size: 14px; opacity: 0.8; }
@media (max-width: 760px) {
  .intro-block { grid-template-columns: 1fr; }
}

.about { padding: 56px 0; }
.about h2 { font-size: 28px; margin-bottom: 12px; }
.about p { color: var(--muted); line-height: 1.6; }
/* Make the single lead paragraph above features white for contrast */
.about > .container > p { color: #ffffff; }

/* Programs + Signup sections */
.programs, .signup { padding: 56px 0; }
.programs h2, .signup h2 { font-size: 28px; margin-bottom: 12px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 26px; }
.feature { border: 1px solid rgba(0,0,0,0.06); border-radius: 12px; padding: 18px; background: var(--bg); }
.feature .icon { font-size: 26px; }
.feature h3 { margin: 10px 0 6px; font-size: 18px; color: var(--text); }
.feature p { margin: 0; color: var(--muted); }

.contact { padding: 56px 0; background: transparent; }
@media (prefers-color-scheme: dark) { .contact { background: var(--bg); } }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.contact h2 { font-size: 26px; margin-bottom: 16px; }
.info { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; align-items: start; }
.info > div { min-width: 0; }
@media (max-width: 900px) { .info { grid-template-columns: 1fr; } }
.info h3 { margin: 4px 0 8px; font-size: 16px; color: var(--text); }
.info p { margin: 0; color: var(--muted); }
.info a { color: var(--accent); text-decoration: none; }
.info a:hover { text-decoration: underline; }

/* Hours + small map side by side */
.hours-map { display: contents; }
.hours-map .map { display: none; }
.hours-map .map iframe { width: 100%; height: 180px; border: 0; border-radius: 8px; }
@media (max-width: 700px) { .hours-map { grid-template-columns: 1fr; } .hours-map .map iframe { height: 200px; } }

/* Contact map above columns */
.contact-map { margin: 8px 0 16px; }
.contact-map iframe { width: 380px; max-width: 100%; height: 220px; border: 0; border-radius: 8px; display: block; }

/* Hide placeholder sections for now, keep menu items */
.programs, .signup { display: none !important; }

.site-footer { padding: 28px 0; border-top: 1px solid rgba(0,0,0,0.06); text-align: center; background: transparent; }
.site-footer small { color: var(--muted); }
