/*
  ========================================================================
  Shared styles — single source of truth for all Eva Miller Coaching pages
  ------------------------------------------------------------------------
  Extracted from index.html (canonical reference).
  Each page links this file, then adds only page-specific overrides.
*/

/* Design tokens */
:root{
  --magenta:#D63384;
  --navy:#1B263B;
  --white:#FFFFFF;
  --light:#F5F5F5;
  --ink:#222222;
}

/* Reset */
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:"Open Sans",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--white);
  color:var(--ink);
  line-height:1.6;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
img{max-width:100%;height:auto;display:block;}
a{text-decoration:none;color:var(--magenta);}

/* Typography */
h1,h2,h3,.logo{
  font-family:"Montserrat",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--navy);
  margin:0 0 .5rem;
  line-height:1.2;
}
h1{font-size:clamp(2rem,4.5vw,3.25rem);font-weight:800;}
h2{font-size:clamp(1.5rem,3.4vw,2.25rem);font-weight:800;}
h3{font-size:clamp(1.25rem,2.5vw,1.5rem);font-weight:700;}
p.lead{font-size:clamp(1.05rem,2.2vw,1.2rem);}

/* Layout */
.container{
  width:min(1100px,92%);
  margin-left:auto;
  margin-right:auto;
}
main{flex:1;}

/* Header / Navigation */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,0.95);
  backdrop-filter:saturate(120%) blur(6px);
  border-bottom:1px solid #eaeaea;
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0.85rem 0;
  position:relative;
}
.logo{
  display:flex;
  align-items:center;
  gap:0.6rem;
  font-weight:800;
  color:var(--magenta);
  text-decoration:none;
}
.logo-icon{
  width:48px;
  height:36px;
  flex-shrink:0;
}
.logo small{
  display:block;
  font-weight:600;
  color:var(--navy);
  opacity:.85;
  font-size:.9rem;
  margin-top:.15rem;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:1.25rem;
}
.nav-links a{
  color:var(--navy);
  font-weight:700;
}
.nav-links a:hover{
  color:var(--magenta);
}
.nav-links a[aria-current="page"]{
  color:var(--magenta);
  border-bottom:2px solid var(--magenta);
  padding-bottom:2px;
}

/* Hamburger button */
.burger{
  display:none;
  flex-direction:column;
  gap:0.35rem;
  background:transparent;
  border:0;
  cursor:pointer;
  padding:0;
}
.burger span{
  width:26px;
  height:3px;
  background:var(--navy);
  border-radius:2px;
  transition:transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile menu */
@media (max-width:860px){
  .burger{display:flex;}
  .nav-links{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:var(--white);
    flex-direction:column;
    gap:0;
    border-bottom:1px solid #eee;
    display:none;
    z-index:20;
  }
  .nav-links a{
    width:100%;
    padding:1rem 1.25rem;
    border-top:1px solid #f0f0f0;
  }
  .nav-links.open{display:flex;}
  .burger.active span:nth-child(1){transform:translateY(6px) rotate(45deg);}
  .burger.active span:nth-child(2){opacity:0;}
  .burger.active span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}
}

/* Buttons */
.btn{
  display:inline-block;
  padding:0.9rem 1.2rem;
  border-radius:999px;
  font-weight:700;
  border:2px solid transparent;
  transition:transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-align:center;
  white-space:normal;
  line-height:1.35;
}
.btn-primary{
  background:var(--magenta);
  color:var(--white);
}
.btn-primary:hover{
  box-shadow:0 8px 22px rgba(214,51,132,0.25);
  transform:translateY(-1px);
}
.btn-outline{
  background:transparent;
  color:var(--white);
  border-color:rgba(255,255,255,0.85);
}
.btn-outline:hover{
  background:rgba(255,255,255,0.12);
}

/* Focus rings for keyboard navigation */
.btn:focus-visible, button:focus-visible{
  outline:3px solid var(--magenta);
  outline-offset:2px;
}

/* Inline link underlines for WCAG 1.4.1 */
main a:not(.btn):not(.logo):not(.btn-ghost):not(.btn-primary):not(.btn-outline){
  text-decoration:underline;
  text-underline-offset:2px;
}

/* Generic section styles */
section{padding:clamp(2.25rem,5vw,4rem) 0;}
.section-light{background:var(--light);}
.section-gradient{background:linear-gradient(180deg,#f9f9fb 0%, #eef2f7 100%);}
.section-title{margin-bottom:1.1rem;text-align:center;}

/* Footer */
footer{
  margin-top:auto;
  text-align:center;
  padding:1.1rem;
  background:var(--navy);
  color:#d9e1ef;
  font-size:0.95rem;
}
.footer-credit{
  display:block;
  margin-top:0.4rem;
  font-size:0.72rem;
  color:#8a96a8;
}
.footer-credit a{
  color:#8a96a8;
  text-decoration:none;
}
.footer-credit a:hover{
  color:#b4bfcf;
}

/* Fade-in animation on scroll */
.fade-in{
  opacity:0;
  transform:translateY(14px);
  transition:opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible{
  opacity:1;
  transform:none;
}
@media (prefers-reduced-motion:reduce){
  .fade-in{transition:none;opacity:1;transform:none;}
}
