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

:root {
  --color-bg: #f9f9f9;
  --color-bg-section: #505050;
  --color-bg-dark: #535459;
  --color-bg-darker: #212121;
  --color-text: #212121;
  --color-text-secondary: #535459;
  --color-text-light: #ffffff;
  --color-heading: #212121;
  --color-heading-light: #ffffff;
  --color-border: #e0e0e0;
  --color-border-dark: rgba(255,255,255,0.2);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
  --max-width: 1100px;
  --radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.3;
  font-weight: 400;
}

a { color: var(--color-text-secondary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-text); }

img { max-width: 100%; height: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid var(--color-text);
  text-align: center;
  background: transparent;
  color: var(--color-text);
}

.btn:hover {
  background: var(--color-text);
  color: var(--color-text-light);
}

.btn-primary {
  background: var(--color-bg-dark);
  color: #fff;
  border-color: var(--color-bg-dark);
}
.btn-primary:hover {
  background: var(--color-bg-darker);
  border-color: var(--color-bg-darker);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-secondary);
  border: 2px solid var(--color-text-secondary);
}
.btn-secondary:hover {
  background: var(--color-text-secondary);
  color: #fff;
}

/* ===== HEADER ===== */
.site-header {
  position: relative;
  z-index: 100;
  background: #fff;
  padding: 1rem 0 0;
  text-align: center;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-brand {
  margin-bottom: 0.5rem;
}

.header-brand a {
  display: inline-block;
}

.site-logo-img {
  height: 90px;
  width: auto;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-logo:hover { color: var(--color-text-secondary) !important; }

.site-nav {
  width: 100%;
  border-top: 1px solid var(--color-border);
  padding: 0.4rem 0;
}

.site-nav ul {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 1rem;
}

.site-nav a {
  padding: 0.4rem 1rem;
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  text-transform: capitalize;
  letter-spacing: 0.01em;
  transition: all 0.2s;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--color-text);
  text-decoration: underline;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  background: #333;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(33, 33, 33, 0.40);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}

.hero-left {
  text-align: left;
}

.hero-right {
  text-align: left;
}

.hero h2 {
  font-size: 1.8rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.5rem;
  text-transform: none;
  letter-spacing: 0.01em;
}

.hero-date-large {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 0.25rem;
}

.hero-time-large {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.hero-right p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.hero .btn {
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-color: #fff;
  color: #fff;
}
.hero .btn:hover {
  background: #fff;
  color: var(--color-text);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 4rem 0;
  background: var(--color-bg);
}

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

.about-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: var(--color-heading);
  font-weight: 400;
}

.about-text p {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: var(--color-text);
}

.about-cta {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.highlight-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--color-bg-dark);
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.highlight-card:hover { transform: translateX(4px); }

.highlight-icon {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.highlight-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--color-text);
  font-weight: 700;
}

.highlight-card p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* ===== NEIGHBORHOOD SECTION ===== */
.neighborhood-section {
  padding: 4rem 0;
  text-align: center;
  background: var(--color-bg-section);
  color: var(--color-text-light);
}

.neighborhood-section h2 {
  font-size: 1.8rem;
  color: var(--color-heading-light);
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.neighborhood-section > .container > p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

.countdown-wrapper h3 {
  font-size: 1.2rem;
  color: var(--color-text-light);
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.countdown-item {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  min-width: 90px;
  border: 1px solid rgba(255,255,255,0.15);
}

.countdown-item span {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
}

.countdown-item label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
}

.countdown-done {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #fff;
  font-weight: 700;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 4rem 0;
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.contact-section h2 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--color-heading-light);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.contact-section > .container > p {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.contact-form .btn {
  width: 100%;
  padding: 0.8rem;
  font-size: 0.95rem;
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}
.contact-form .btn:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-text);
}

/* ===== PAGE HEADER (subpages) ===== */
.page-header {
  padding: 3rem 0 2rem;
  text-align: center;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-size: 2.2rem;
  color: var(--color-heading);
  font-weight: 400;
}

.page-subtitle {
  color: var(--color-text-secondary);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* ===== PAGE CONTENT (subpages) ===== */
.page-content {
  padding: 2.5rem 0 4rem;
  background: var(--color-bg);
}

.page-content h2 {
  font-size: 1.5rem;
  color: var(--color-heading);
  margin: 2rem 0 0.8rem;
  padding-bottom: 0;
  border-bottom: none;
  font-weight: 400;
}

.page-content h2:first-child {
  margin-top: 0;
}

/* Center non-FAQ section headings and content (matches live site layout) */
.page-content > .container {
  text-align: center;
}
/* Left-align accordion bars and their content */
.page-content h2:has(strong),
.page-content .accordion-item,
.page-content .accordion-item-header,
.page-content .accordion-item-content,
.page-content .accordion-item-content p {
  text-align: left;
}
/* Left-align the sign-up button but center its container */
.page-content a[href*="google.com/forms"],
.page-content a[href*="google.com/maps"] {
  text-align: center;
}

.page-content h3 {
  font-size: 1.15rem;
  color: var(--color-text);
  margin: 1.5rem 0 0.5rem;
  font-weight: 700;
}

.page-content p {
  margin-bottom: 0.8rem;
  color: var(--color-text);
}

.page-content ul, .page-content ol {
  margin: 0.5rem 0 1.2rem 1.5rem;
  color: var(--color-text);
}

.page-content li {
  margin-bottom: 0.3rem;
}

.page-content a {
  color: var(--color-text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-content a:hover {
  color: var(--color-text);
}

.page-content strong {
  color: var(--color-heading);
  font-weight: 700;
}

/* Sign-up button styling */
.page-content .btn,
.page-content a[href*="google.com/forms"],
.page-content a[href*="google.com/maps"] {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  background: var(--color-bg-dark);
  color: #fff !important;
  text-decoration: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.3s;
  margin: 0.5rem 0;
  border: 2px solid var(--color-bg-dark);
}

.page-content a[href*="google.com/forms"]:hover,
.page-content a[href*="google.com/maps"]:hover {
  background: var(--color-bg-darker);
  border-color: var(--color-bg-darker);
}

/* ===== FAQ SECTION HEADING BARS ===== */
/* h2 headings that contain <strong> render as gray bars (FAQ section titles) */
.page-content h2:has(strong) {
  background: var(--color-bg-dark);
  color: var(--color-heading-light);
  padding: 0.7rem 1rem;
  border-bottom: none;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
  cursor: default;
}
.page-content h2:has(strong) strong {
  font-weight: 700;
  color: inherit;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-bg-darker);
  padding: 2rem 0 1.2rem;
  border-top: none;
  color: var(--color-text-light);
}

.footer-nav {
  text-align: center;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-nav ul {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 1.2rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-logo {
  text-align: center;
  margin-bottom: 1.2rem;
}

.footer-logo h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.04em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
}
.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}
.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ===== ACCORDION STYLES ===== */
.accordion-item {
  border: none;
  border-radius: var(--radius);
  margin-bottom: 6px;
  overflow: hidden;
  background: transparent;
}

.accordion-item-header {
  display: block;
  width: 100%;
  padding: 0.7rem 2.5rem 0.7rem 1rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--color-text-light);
  cursor: pointer;
  background: var(--color-bg-dark);
  border: none;
  border-radius: var(--radius);
  text-align: left;
  position: relative;
  list-style: none;
}

.accordion-item-header::-webkit-details-marker {
  display: none;
}

.accordion-item-header::marker {
  display: none;
  content: "";
}

.accordion-item-header::after {
  content: "\276F";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  transition: transform 0.2s ease;
}

.accordion-item[open] .accordion-item-header::after {
  content: "\276F";
  transform: translateY(-50%) rotate(90deg);
}

.accordion-item[open] .accordion-item-header {
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
}

.accordion-item-content {
  padding: 15px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

.accordion-item-content p {
  margin: 0 0 10px 0;
  color: var(--color-text);
}

.accordion-item-content p:last-child {
  margin-bottom: 0;
}

.accordion-item-content a {
  color: var(--color-text-secondary);
  text-decoration: underline;
}

.accordion-item-content a:hover {
  color: var(--color-text);
}

/* ===== SCROLL REVEAL ===== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--reveal-delay, 0) * 0.1s);
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

  .site-header {
    padding: 0.6rem 0;
  }

  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 1rem;
  }

  .header-brand {
    margin-bottom: 0;
  }

  .site-logo-img {
    height: 50px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    border-top: none;
    padding: 0.8rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 0.6rem 1rem; color: var(--color-text-secondary); }

  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.2rem; }

  .hero {
    min-height: 90vh;
    padding-bottom: 3rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero-date-large {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero-time-large {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-right p {
    font-size: 0.95rem;
  }

  .countdown { gap: 0.6rem; }
  .countdown-item { min-width: 70px; padding: 0.8rem 1rem; }
  .countdown-item span { font-size: 1.6rem; }

  /* Footer nav wraps at mobile */
  .footer-nav ul {
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
  }
}

@media (max-width: 480px) {
  body { font-size: 15px; }

  .hero {
    min-height: 85vh;
    padding-bottom: 2.5rem;
  }

  .hero h2 {
    font-size: 1.3rem;
  }

  .hero-date-large {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .hero-time-large {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .page-header h1 { font-size: 1.6rem; }

  /* Accordion text fully readable at small screens */
  .accordion-item-header {
    font-size: 0.9rem;
    padding: 0.6rem 2.2rem 0.6rem 0.8rem;
  }
}
