/* =========================================
   SELF-HOSTED NORTHWELL FONT
   (CSS lives in /styles, fonts in /northwell)
   ========================================= */
@font-face {
  font-family: "Northwell";
  src: url("../northwell/northwell.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* =========================================
   BRAND COLOURS
   ========================================= */
:root {
  --wildwoman-green:#26AB3A;
  --deep-green: #108442;
  --forest-green: #224812;
  --soft-cream: #f7f3ee;
  --stone: #e3ddd5;
  --ink: #1a1a1a;
}

/* =========================================
   BASE
   ========================================= */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background-color: #ffffff;
  padding-top: 80px; /* space for fixed nav */
}

h1,
h2 {
  font-family: "Northwell", cursive;
  font-weight: normal;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: 0.5rem 1rem;
  background: #000;
  color: #fff;
  z-index: 9999;
}
.skip-link:focus {
  top: 0;
}

/* =========================================
   NAVBAR
   ========================================= */
.main-nav {
  background: #ffffff;                 /* white header */
  border-bottom: 1px solid #e5e5e5;
}

/* stack logo over nav links + center everything */
.main-nav .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 0.5rem;               /* a bit of breathing room */
}

/* nav links in deep green */
.main-nav .nav-link {
  color: var(--deep-green);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: #000000;
}

/* keep spacing on desktop */
@media (min-width: 992px) {
  .main-nav .navbar-nav {
    gap: 1.75rem;
  }
}

/* Basic body styling + space for fixed header */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: #ffffff;
  color: #111;
  padding-top: 180px; /* space for logo + nav on desktop */
}

/* On smaller screens the header is taller (logo + hamburger) */
@media (max-width: 991.98px) {
  body {
    padding-top: 220px;
  }
}

/* =========================================
   HERO SECTION – CENTERED NAME/BUTTONS,
   H1 + TEXT TO THE RIGHT
   ========================================= */
.hero-section {
  position: relative;
  min-height: 85vh;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: 40% 40%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

/* overlay over ALL */
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;                               /* adjust if you want more/less */
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Company name centered at top */
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1.1rem;
  color: var(--deep-green);
  text-align: center;
  margin: 0;
}

/* H1 + paragraph shifted to the right */
.hero-text {
  max-width: 650px;
  margin-left: auto;                         /* pushes block to the right */
  text-align: right;
  padding-right: clamp(1rem, 5vw, 4rem);
}

.hero-text h1 {
  font-family: "Northwell", cursive;
  color: var(--forest-green);
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-text .hero-subtitle {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Buttons centered at bottom, under company name */
.hero-buttons {
  text-align: center;
  margin-top: 0.5rem;
}

/* RESPONSIVE – everything recenters on small screens */
@media (max-width: 768px) {
  .hero-section::after {
    width: 100%;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-right: 0;
  }
}


/* ============================
   EVENTS PAGE
   ============================ */
.event-hero {
  background-color: var(--soft-cream);
}

.event-title {
  font-family: "Northwell", cursive;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  color: var(--deep-green);
  margin-bottom: 0.75rem;
}

.event-meta {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-green);
  margin-bottom: 1rem;
}

.event-intro {
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

/* Event image: centered, not full width */
.event-image-section {
  padding-bottom: 2.5rem;
}

.event-hero-image {
  display: block;
  max-width: 900px;      /* ★ standard in-page width */
  width: 100%;           /* scales down on small screens */
  margin: 0 auto 2.5rem; /* center + space below */
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  object-fit: cover;
}


.event-subheading {
  font-size: 3rem;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  color: var(--deep-green)
}

.event-mini-heading {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.event-list {
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
}

/* ============================
   WILD WOMAN BUTTONS — EQUAL WIDTH
   ============================ */

.btn-ww {
  border-radius: 999px;             /* pill shape */
  padding: 0.70rem 1.5rem;          /* ★ shorter height + less padding */
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 150px;                 /* ★ ALL buttons same width */
  text-align: center;               /* keeps text centered */
  display: inline-block;            /* keeps width fixed */
}

/* Primary (solid deep green) */
.btn-ww-primary {
  background-color: var(--deep-green);
  border: 1px solid var(--deep-green);
  color: #ffffff;
}

.btn-ww-primary:hover,
.btn-ww-primary:focus-visible {
  background-color: #06241e;
  border-color: var(--deep-green);
  color: #ffffff;
}

/* Secondary (outline) */
.btn-ww-outline {
  background-color: transparent;
  border: 1px solid var(--deep-green);
  color: var(--deep-green);
}

.btn-ww-outline:hover,
.btn-ww-outline:focus-visible {
  background-color: var(--deep-green);
  color: #ffffff;
}

/* Classes Schedule Header increase font size*/

.schedule-header {
  font-family: "Northwell", cursive;  /* if you want script */
  font-size: 3rem;                    /* adjust to your liking */
  color: var(--deep-green);
  text-align: center;                 /* optional */
  margin-bottom: 2rem;
}

.schedule-header-h2 {
  font-family: "Northwell", cursive;  /* if you want script */
  font-size: 2rem;                    /* adjust to your liking */
  color: var(--wildwoman-green);
  text-align: left;                 /* optional */
  margin-bottom: 2rem;
}

/* =========================================
   SECTIONS
   ========================================= */
.section-light {
  background-color: var(--soft-cream);
}

.section-dark {
  background-color: #101315;
  color: #ffffff;
}

.section-title {
  font-size: 3rem;
  letter-spacing: 0.08em;
}

/* =========================================
   FOOTER
   ========================================= */
.footer-white a {
  color: var(--deep-green);
  text-decoration: none;
}

.footer-white a:hover {
  text-decoration: underline;
}

/* =========================================
   NAVBAR + HERO FADE ON SCROLL
   ========================================= */

/* NAVBAR FADE */
.main-nav {
  background: #ffffff;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

/* When fully hidden, don't block clicks */
.main-nav.nav-hidden {
  pointer-events: none;
}

/* Hero fades slightly as you scroll down */
#hero {
  transition: opacity 0.3s ease-out;
}

/* Classes page title */
.schedule-header {
  color: var(--deep-green);
  font-family: "Northwell", cursive;
  font-size: 3rem;
  text-align: center;
}

/* Contact page subheading */
.contact-subtitle {
  color: var(--deep-green);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Events page classs schedule */
.event-schedule-table th {
  background-color: var(--soft-cream);
  color: var(--deep-green);
  font-weight: 600;
}
.event-schedule-table td {
  vertical-align: middle;
}

/* Header fade / style change on scroll */
.main-nav.scrolled {
  background-color: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Safari-friendly scroll box for MomoYoga */
.momo-scrollbox {
  height: 300px;                 /* use height, not only max-height */
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

/* Let the plugin render normally inside */
.momo-scrollbox .momoyoga-schedule {
  max-height: none;
  overflow: visible;
  border: 0;
}
