:root{
  --blue:#028BFF;
  --magenta:#E03BE6;
  --dark:#232323;
  --bg:#0e0f11;
  --card:#17181b;
  --text:#fff;
  --muted:#c8c8c8;
  --border:#2a2b31;
}

/* Fluid base type */
html{
  font-size:clamp(14px, 1.2vw + 0.5rem, 18px);
  height:100%;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  color:var(--text);
  font-family:Poppins,system-ui,sans-serif;
}

/* Layout for sticky footer + one global gradient wallpaper */
body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:
    radial-gradient(1600px 1600px at 80% 0%, rgba(229,57,229,.30), transparent 70%),
    radial-gradient(1600px 1600px at 0% 100%, rgba(2,139,255,.26), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;      /* ⬅ no tiling, no “restart” */
  background-attachment: fixed;      /* ⬅ gradient stays put while content scrolls */
  background-size: 140% 140%;        /* ⬅ a bit larger than viewport so edges are off-screen */
}

main{
  flex:1; /* pushes footer to bottom when content is short */
}

a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}

/* Wider container so big screens don't feel empty */
.container{
  width:min(1300px, 94%);
  margin-inline:auto;
}

.muted{color:var(--muted)}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:1rem;
  padding:1.1rem;
}

/* Program cards on Programe page */
.program-card{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1rem;
  padding:2rem 1.5rem;
}

.program-card .headline{
  font-size:2rem;
  margin-bottom:.4rem;
}

.program-card .btn{
  margin-top:.3rem;
}


.btn{
  display:inline-block;
  padding:.9rem 1.1rem;
  border-radius:.8rem;
  font-weight:700;
}
.btn-primary{background:linear-gradient(90deg,var(--blue),var(--magenta))}
.btn-outline{border:2px solid var(--blue)}

/* ---------------- HEADER (BASE / MOBILE) ---------------- */

.site-header .nav{
  display:flex;
  align-items:center;
  gap:1.2rem;
  justify-content:flex-start;
  padding:0.9rem 0;          /* a bit smaller so it fits on laptops */
}

.logo{
  display:flex;
  align-items:center;
  gap:.8rem;
}

.logo img{
  width:60px;
  border-radius:18px;
  overflow:hidden;
}

.brand{
  font-family:"Bebas Neue",Poppins,sans-serif;
  letter-spacing:.5px;
  font-size:clamp(1.6rem, 2vw, 2.1rem);
}

.navlinks{
  display:flex;
  gap:0.9rem;
  flex-wrap:wrap;
}

/* Base tab style – smaller and with active underline */
.navlinks a{
  position:relative;
  padding:.35rem .8rem;
  border-radius:.7rem;
  font-size:.95rem;               /* <- was 95rem by mistake */
  font-weight:600;
  border:1px solid transparent;
  color:var(--text);
  text-decoration:none;
  transition:
    background .18s ease,
    color .18s ease,
    transform .12s ease,
    border-color .18s ease;
}

/* Hover */
.navlinks a:hover{
  background:rgba(255,255,255,0.04);
  transform:translateY(-1px);
}

/* Underline “bar” for hover/active */
.navlinks a::after{
  content:"";
  position:absolute;
  left:18%;
  right:18%;
  bottom:-0.35rem;
  height:2px;
  border-radius:999px;
  background:transparent;
  transition:background .18s ease, opacity .18s ease;
  opacity:0;
}

/* Active tab: only gradient underline (no pill) */
.navlinks a.active{
  background:transparent;
  border-color:transparent;
}

/* Exception: header CTA "Înscrieri" stays a gradient pill even when active */
.navlinks a.btn.active{
  background: linear-gradient(90deg, var(--blue), var(--magenta));
  border: none;
}
.navlinks a.active::after{
  background:linear-gradient(90deg,var(--blue),var(--magenta));
  opacity:1;
}

/* Header CTA "Înscrieri": keep it a clean gradient pill, no underline bar */
.navlinks a.btn{
  border: none;
}

/* CTA: hide underline normally, but allow it when active */
.navlinks a.btn:not(.active)::after{
  display: none;
}

.burger{
  display:none;
  background:transparent;
  border:0;
  color:#fff;
  font-size:1.8rem;
}

.sub--age{
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: -0.3rem;
  margin-bottom: 0.6rem;
}

/* ---------- DESKTOP NAV (>= 960px) – GRID & CENTERED TABS ---------- */

@media (min-width:960px){

  .site-header .nav{
    display:grid;
    grid-template-columns:auto 1fr auto; /* logo | links | spare */
    align-items:center;
    padding:0.9rem 0;
  }

  .burger{
    display:none;
  }

  .navlinks{
    justify-self:center;
    position:static;
    transform:none;
    white-space:nowrap;
    gap:1.4rem;
  }

  .navlinks a{
    font-size:1.05rem;
    padding:.45rem .9rem;
  }
}

/* Big monitors – boost sizes a bit */
@media (min-width:1440px){
  .logo img{
    width:72px;
  }

  .brand{
    font-size:clamp(2.rem, 2.5vw, 2.8rem);
  }

  .navlinks{
    gap:1.6rem;
  }

  .navlinks a{
    font-size:1.1rem;
    padding:.5rem 1rem;
  }
}

/* Tablets / phones – burger menu */
@media (max-width:959px){
  .logo img{
    width:60px;
  }
  .brand{
    font-size:1.8rem;
  }

  .site-header .nav{
    justify-content:flex-start;
    padding:1rem 0;
  }

  .burger{
    display:block;
    margin-left:auto;      /* pushes burger to the right edge */
  }

  .navlinks{
    display:none;
    flex-direction:column;
    background:#111317;
    border:1px solid var(--border);
    border-radius:.8rem;
    padding:.6rem;
    position:absolute;
    right:5%;
    top:86px;
    min-width:220px;
    max-width:92vw;
    z-index:10;
  }

  .navlinks.show{
    display:flex;
  }

  /* 🔻 MOBILE-SPECIFIC LOOK FOR MENU ITEMS */
  .navlinks a{
    padding:.5rem .9rem;
    border-radius:.5rem;
    font-size:1rem;
    transform:none;              /* no “lift” effect on tap */
  }

  .navlinks a:hover{
    background:rgba(255,255,255,0.06);
    transform:none;              /* keep them flat */
  }

  /* in mobile dropdown too: active = only underline, no pill */
  .navlinks a.active{
    background: transparent;
    border-color: transparent;
  }
   /* mobile dropdown: underline should span the whole row */
  .navlinks a::after{
    left: 0;         /* start at the left edge of the item */
    right: 0;        /* end at the right edge of the item */
    bottom: -0.3rem;
    height: 2px;
  }
}

/* HERO: only spacing; background comes from body gradient */
.hero{
  padding:10vh 0 6vh;
  background: transparent;
}

.hero > .container{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:50vh;
}

/* For very short screens, relax the height a bit */
@media (max-height:700px){
  .hero > .container{
    min-height:45vh;
  }
}

.headline{
  font-family:"Bebas Neue",Poppins,sans-serif;
  font-size:clamp(2.2rem,6vw,4rem);
  margin:.4rem 0 1rem;
}

.sub{max-width:60ch}

/* Sections: keep some padding but hero already uses vh */
section{
  padding:clamp(1.8rem,4vw,3rem) 0;
}

/* Optional: pull a section up to overlap hero a bit (e.g. About cards) */
.section-overlap{
  margin-top:-4vh;
}

/* Grids */
.grid{display:grid;gap:1rem}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}

/* Optional 2-column helper */
.grid-2{
  display:grid;
  gap:1rem;
  grid-template-columns:repeat(2,1fr);
}
@media (max-width:768px){
  .grid-2{grid-template-columns:1fr;}
}

.contact-grid{
  display:flex;
  flex-direction:column;
  gap:1.5rem;
  align-items:stretch;
  max-width:900px;
  margin-inline:auto;
}

/* Forms */
label{
  font-weight:600;
  font-size:.95rem;
}
input,select,textarea{
  width:100%;
  margin-top:.35rem;
  padding:.8rem .9rem;
  color:#e9e9e9;
  background:#111317;
  border:1px solid var(--border);
  border-radius:.6rem;
  outline:none;
  line-height:1.2;
}
input:focus,select:focus,textarea:focus{border-color:var(--blue)}

form .row{
  display:grid;
  gap:1rem;
  grid-template-columns:repeat(2,1fr);
}

/* Consent checkbox row on forms */
.consent-row{
  display:flex;
  align-items:flex-start;
  gap:.7rem;
  margin:1.2rem 0 1.6rem;
  max-width:60ch;
}

/* Make checkbox visible and nicely aligned */
.consent-row input[type="checkbox"]{
  width:1.1rem;
  height:1.1rem;
  margin-top:.2rem;
  accent-color:var(--blue);
  flex-shrink:0;
}

@media (max-width:720px){
  form .row{grid-template-columns:1fr}
}

/* Smaller phones */
@media (max-width:480px){
  .brand{font-size:1.6rem}
  .btn{
    padding:.8rem 1rem;
    min-height:44px;
  }
  .sub{font-size:.95rem}
}


/* Social icons row on Contact page (reuse footer styles) */
.contact-social{
  margin-top:1rem;
  margin-bottom:.4rem;
  justify-content:flex-start;
}

/* ---------------- FOOTER ---------------- */

.site-footer{
  border-top:1px solid #22252b;
  padding-top:2rem;
  padding-bottom:1rem;
  background:transparent; /* show the same global gradient */
}

.footer-main{
  display:grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap:2rem;
  align-items:center;
}

/* Left brand */
.footer-brand{
  display:flex;
  align-items:center;
  gap:1rem;
}

.footer-brand img{
  width:64px;
  border-radius:16px;
}

.footer-brand-name{
  font-family:"Bebas Neue",Poppins,sans-serif;
  font-size:1.8rem;
  letter-spacing:.5px;
}

.footer-brand-tagline{
  display:block;
  color:var(--muted);
  font-size:.9rem;
}

/* Center: socials + contact */
.footer-contact{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.7rem;
}

.footer-social{
  display:flex;
  gap:.7rem;
  justify-content:center;
}

.footer-icon{
  width:40px;
  height:40px;
  border-radius:999px;
  border:2px solid #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;   /* or a subtle gradient if you want */
}

.footer-icon img{
  width:22px;
  height:22px;
  display:block;
  filter: invert(1);
}

.footer-phone{
  color:var(--muted);
  font-size:.95rem;
}

/* Right: meta */
.footer-meta{
  text-align:right;
  font-size:.9rem;
}

.footer-address{
  margin:0 0 .4rem 0;
}

.footer-link{
  display:block;
  color:var(--muted);
  font-size:.9rem;
  margin-bottom:.15rem;
}

.footer-link:hover{
  color:#fff;
}

/* bottom row */
.footer-bottom{
  margin-top:1.6rem;
  padding-top:1rem;
  border-top:1px solid #22252b;
  text-align:center;
  color:#9aa0a6;
  font-size:.9rem;
}

/* Footer responsiveness */
@media (max-width:900px){
  .footer-main{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-meta{
    text-align:center;
  }

  .footer-brand{
    justify-content:center;
  }
}

/* Thin separator between program blocks on Programe page */
.section-divider{
  border:0;
  border-top:1px solid var(--border);
  max-width:800px;
  margin:0 auto 2.5rem;
  opacity:0.7;
}

/* ---- ABOUT PAGE TABS ---- */

.about-tabs{
  margin-top:1rem;
}

.tabs-nav{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  border-bottom:1px solid var(--border);
  margin-bottom:1rem;
}

.tab-btn{
  border:1px solid var(--border);
  border-radius:.7rem .7rem 0 0;
  background:transparent;
  color:var(--muted);
  padding:.5rem 1rem;
  font-weight:600;
  cursor:pointer;
}

.tab-btn.active{
  background:#16181d;
  color:var(--text);
  border-color:var(--blue);
}

.tabs-panel{
  max-width:70ch;
}

.tabs-panel ul{
  padding-left:1.2rem;
}

/* just in case */
[hidden]{ display:none !important; }

/* ABOUT PAGE ENHANCEMENTS */
.about-tabs {
  text-align: center;
}

/* Bigger intro text */
.about-tabs p,
.about-tabs ul,
.hero.hero--compact .sub p {
  font-size: 1.15rem;
  line-height: 1.7;
}

/* Tabs centered with spacing */
.tabs-nav {
  justify-content: center;
  gap:0.7rem;
  margin-bottom:1.6rem;
}

/* Tabs style */
.tab-btn {
  border: 1px solid var(--border);
  border-radius: .8rem .8rem 0 0;
  background: #111317;
  color: var(--muted);
  padding: .6rem 1.15rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}

/* Active tab with gradient */
.tab-btn.active {
  background: linear-gradient(90deg, var(--blue), var(--magenta));
  color: white;
  border-color: var(--blue);
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
  transform: translateY(-2px);
}

/* Tabs panel centered */
.tabs-panel {
  margin-inline: auto;
  max-width: 70ch;
  text-align: left;
  min-height: 210px;
}

/* Larger bullet list */
.tabs-panel ul li {
  font-size: 1.1rem;
  margin-bottom: .4rem;
}

/* Centered hero variant (About, Contact, Staff intro) */
.hero.hero--compact {
  padding: 6vh 0 3vh;
}

.hero.hero--compact > .container{
  align-items: center;
  text-align: center;
  min-height: auto;
}

.hero.hero--compact .headline{
  text-align: center;
}

.hero.hero--compact .sub{
  max-width: 70ch;
  margin-inline: auto;
}

/* Coach cards on About page */
.coach-grid{
  grid-template-columns:repeat(auto-fit, minmax(230px, 1fr));
}

.coach-card{
  text-align:center;
  text-decoration:none;
  color:inherit;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:2rem 1.4rem;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.coach-card img{
  width:100%;
  max-width:120px;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:50%;
  margin-bottom:.8rem;
}

/* smaller name on cards */
.coach-card .headline{
  font-size:1.6rem;
  line-height:1.1;
  text-transform:uppercase;
  margin:0 0 .4rem 0;
}

.coach-role{
  font-weight:600;
  color:var(--muted);
  margin:0;
  font-size:.95rem;
}

.coach-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 25px rgba(0,0,0,.35);
  border-color:#ffffff;      /* white border on hover */
}

/* Coach detail layout */
.coach-profile{
  display:grid;
  grid-template-columns:280px minmax(0, 1fr);
  gap:2rem;
  align-items:flex-start;
  padding:1.5rem 0 2.5rem;
}

.coach-profile img{
  width:100%;
  border-radius:1.2rem;
  object-fit:cover;
}

.coach-profile h2{
  margin-top:0;
}

.coach-meta{
  color:var(--muted);
  font-weight:600;
  margin-bottom:1rem;
}

.coach-profile ul{
  padding-left:1.2rem;
}

.coach-profile li{
  margin-bottom:.35rem;
}

/* Stack on mobile */
@media (max-width:800px){
  .coach-profile{
    grid-template-columns:1fr;
    padding: 1.5rem 0 2rem;
  }
  .coach-profile img{
    width:100%;
    max-width:220px;
    aspect-ratio:1 / 1;
    margin:0 auto 1.2rem auto;
  }
}

/* Coach hero: lighter than generic hero + no forced 50vh height */
.hero.hero--coach{
  padding:4vh 0 1.5vh;
}

.hero.hero--coach > .container{
  min-height:auto;
}

/* tighter spacing between hero and profile section */
.section--coach-profile{
  padding:0.8rem 0 1.8rem;
}

@media (max-width:700px){
  .hero.hero--coach{
    padding:3vh 0 1.2vh;
  }
}

/* Hero for Staff page – much tighter vertically */
.hero.hero--staff {
  padding: 3vh 0 0.5vh;
}

@media (max-width: 700px) {
  .hero.hero--staff {
    padding: 2vh 0 0.5vh;
  }
}

/* Staff section: smaller top padding + centered title */
.section-staff {
  padding-top: 0.5rem;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-staff .headline {
  text-align: center;
}

/* HOME HERO */
.hero.hero--home {
  padding: 6vh 0 4vh;
}

.hero.hero--home > .container {
  align-items: center;
  text-align: center;
}

.hero.hero--home .headline {
  text-align: center;
}

.hero.hero--home .sub {
  max-width: 60ch;
  margin-inline: auto;
}

/* hero buttons centered */
.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---------- HOME FEATURE CARDS UNDER HERO ---------- */

.home-feature-list{
  max-width: 1000px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;   /* one under another */
  gap: 1.4rem;
}

/* one big card with image left + text right */
.home-feature{
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.6rem 1.9rem;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.home-feature:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.45);
  border-color: #ffffff;      /* white border on hover */
  background: #1a1b20;
}

.home-feature-media{
  flex: 0 0 28%;              /* ~1/3 of card width */
  max-width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;                  /* no extra tile background */
  border-radius: 0;
  background: transparent;
  border: none;
}

.home-feature-media img{
  display: block;
  max-width: 170px;
  max-height: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: invert(1) brightness(1.2);  /* turn dark icon → white-ish */
}

.home-feature-body{
  flex: 1;
}

.home-feature-title{
  margin: 0 0 .5rem 0;
  font-size: 1.9rem;
}

.home-feature-text{
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* responsive: stack image above text on smaller screens */
@media (max-width: 768px){
  .home-feature{
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .home-feature-body{
    width: 100%;
  }

  .home-feature-title{
    font-size: 1.7rem;
  }
}


/* Footer mobile: logo above name, everything centered */
@media (max-width: 640px) {
  .footer-brand {
    display: flex;
    flex-direction: column;   /* logo on top, text under it */
    align-items: center;      /* center horizontally */
    justify-content: center;
    text-align: center;       /* center text inside the block */
    gap: 0.25rem;
  }

  .footer-brand img {
    margin: 0 auto 0.35rem auto;  /* center logo with a small gap below */
  }

  .footer-brand-name,
  .footer-brand-tagline {
    width: auto;              /* no weird width constraints */
    text-align: center;       /* make sure the text is centered */
  }
}

.program-cta {
  margin-top: 1.3rem;
  display: flex;
  justify-content: center;
}

/* ---------- PROGRAMS PAGE: stacked cards ---------- */

.program-list{
  max-width: 900px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;   /* one under the other */
  gap: 1.5rem;
}

.program-card{
  text-align: center;
  padding: 2rem 2rem 2.3rem;
}

.program-card .headline{
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.program-card p{
  max-width: 60ch;
  margin: 0 auto;
}

.program-card-cta{
  margin-top: 1.5rem;
}

.program-card-cta .btn{
  min-width: 180px;
}

/* ---------- INDIVIDUAL PROGRAM DETAIL PAGE ---------- */

/* smaller hero so tabs are visible without scrolling too much */
.hero.hero--individual-program{
  padding: 4vh 0 1.8vh;
}

/* tighten spacing around tabs */
.program-individual-tabs{
  margin-top: 1rem;
}

.program-individual-tabs .tabs-nav{
  margin-bottom: 1rem;
}

.program-individual-tabs .tab-btn{
  min-width: 0;
}

/* center CTA inside each tab */
.tab-panel-cta{
  margin-top: 1.4rem;
  text-align: center;
}

/* Tabs stacked on mobile */
@media (max-width: 640px) {
  .tabs-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .tabs-nav .tab-btn {
    width: 100%;
    border-radius: .8rem;
    /* little spacing between them */
    margin-bottom: 0.2rem;
  }
}




