/* ============================
   HEADER SIZE NORMALIZER
   (Mirror homepage.css exactly)
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Playfair+Display:wght@700;900&display=swap');

:root {
  --purple: #3B2E71;
  --bright-blue: #73C5E8;
  --soft-blue: #9CD7E7;
  --cream: #FDF8DC;
  --white: #FEFEFC;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--purple);
  background: var(--white);
}

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }

/* Header + Navbar */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.logo { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 1.5rem; color: var(--purple); }
.nav-links { list-style: none; display: flex; gap: 1.5rem; }
.nav-links a { position: relative; font-weight: 500; transition: color 0.3s ease; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--bright-blue); transition: width 0.3s ease; }
.nav-links a:hover { color: var(--bright-blue); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle-bar { width: 25px; height: 3px; background: var(--purple); border-radius: 2px; }

@media (max-width: 900px) {
  .nav-links {
    display: none; flex-direction: column; background: var(--white); padding: 1rem;
    position: absolute; right: 1rem; top: 60px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
}

/* News banner identical */
.news-banner { background: var(--bright-blue); color: var(--white); padding: 0.25rem 0.5rem; font-weight: 600; font-size: 0.9rem; text-align: center; }
.banner-link { color: var(--cream); font-weight: 700; text-decoration: underline; }

/* Hero identical */
.hero { background: linear-gradient(135deg, var(--purple), var(--bright-blue)); color: var(--white); padding: 5rem 1rem; }
.hero-content { display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.hero-text { flex: 1 1 400px; }
.hero-text h1 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 2.8rem; line-height: 1.2; margin-bottom: 1rem; color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,.25); -webkit-text-stroke: .5px rgba(0,0,0,.08); letter-spacing: .3px; }
.slogan, .hero-text p { font-size: 1.1rem; color: var(--cream); }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-art { flex: 1 1 250px; text-align: center; }
.mascot { width: 200px; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-12px) } }

/* Buttons identical */
.btn { display: inline-block; padding: 0.8rem 1.6rem; border-radius: 2rem; font-weight: 600; transition: all 0.3s ease; }
.btn-primary { background: var(--bright-blue); color: var(--white); box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--purple); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* Sections */
.section { padding: 4rem 1rem; }
.section--alt { background: var(--cream); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--purple); font-size: 2rem; margin-bottom: 0.5rem; }
.section-subtitle { font-size: 1.1rem; color: #444; }

/* Training-specific cards */
.card-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.card { background: var(--white); padding: 1.5rem; border-radius: 1rem; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card h3 { margin-bottom: 0.5rem; }
.card .btn { margin-top: 0.5rem; }
.card:hover { transform: translateY(-6px); box-shadow: 0 8px 18px rgba(0,0,0,0.15); }

/* Gallery grid */
.gallery-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.gallery-container img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.gallery-container img:hover { transform: scale(1.03); box-shadow: 0 8px 18px rgba(0,0,0,0.15); }

/* Footer identical */
.site-footer { background: var(--purple); color: var(--cream); padding: 2rem 1rem; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; align-items: center; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 900; }
.footer-nav ul { list-style: none; display: flex; gap: 1rem; }
.footer-nav a { color: var(--cream); transition: color 0.3s ease; }
.footer-nav a:hover { color: var(--soft-blue); }
.footer-actions .btn { border: 2px solid var(--cream); color: var(--cream); }
.footer-actions .btn:hover { background: var(--cream); color: var(--purple); }

/* Responsive identical */
@media (max-width: 900px) {
  .hero-content { flex-direction: column; text-align: center; }
  .hero-text h1 { font-size: 2.2rem; }
  .nav-links {
    display: none; flex-direction: column; background: var(--white); padding: 1rem;
    position: absolute; right: 1rem; top: 60px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  .hero-text h1 { font-size: 1.8rem; }
  .btn { padding: 0.6rem 1.2rem; }
}
