/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

*{margin:0;padding:0;box-sizing:border-box;}
html { scroll-behavior: smooth; }
body {
  font-family:'Poppins',sans-serif;
  background:#fafafa;
  color:#111;
}

/* ================= NAVBAR ================= */
header{
  position:fixed;
  width:100%;
  top:0; left:0;
  z-index:999;
  background:rgba(255,255,255,0.75);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  padding:8px 30px;
  transition:0.3s;
}
nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo-img{
  height:65px;
  width:auto;
}
.nav-links{
  list-style:none;
  display:flex;
  gap:20px;
}
.nav-links li a{
  text-decoration:none;
  color:#111;
  font-weight:600;
  transition:0.3s;
}
.nav-links li a:hover{
  color:#008cff;
}
.btn{
  background:#111;
  padding:8px 14px;
  border-radius:6px;
  color:white !important;
}

/* ===== NAVBAR ON SCROLL (DARKER & SOLID) ===== */
.scrolled {
  background:white !important;
  box-shadow:0 4px 12px rgba(0,0,0,0.12);
}

/* ================= HERO ================= */
/* ===== HERO CENTER LOGO LAYOUT ===== */
/* HERO SECTION - FINAL */
.hero {
  background: url('assets/hero-bg.jpg') center/cover no-repeat;
  height: 120vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: 90px;
}

.hero::before {
  content: "";
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.45);
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 900px;
  width: 90%;
}

.hero-logo-top {
  width: 260px; /* ✨ adjust here: 200-300px softer */
  max-width: 260px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.tagline {
  font-size: 1.2rem;
  color: #eee;
  margin-bottom: 25px;
}



/* Buttons */
/* COMMON BUTTON BASE */
.btn-primary,
.btn-whatsapp,
.btn-strava {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* ICON SIZE */
.btn-primary .icon,
.btn-whatsapp .icon,
.btn-strava .icon {
  font-size: 1.1rem;
}

/* INSTAGRAM */
.btn-primary {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(188, 24, 136, 0.4);
}

/* WHATSAPP */
.btn-whatsapp {
  background: linear-gradient(45deg, #25D366, #1ebe5d);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
}

/* STRAVA */
.btn-strava {
  background: linear-gradient(45deg, #fc4c02, #ff6a2b);
}

.btn-strava:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(252, 76, 2, 0.4);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.nav-links .btn {
  background:black;
  padding:10px 18px;
  border-radius:8px;
}
.nav-links .btn:hover { background:#222; }


/* ================= SECTIONS ================= */
.section{
  padding:90px 50px;
  text-align:center;
}
.section.light{
  background:#f7f7f7;
}
h2{
  margin-bottom:20px;
  font-size:2.5rem;
  font-weight:700;
}

/* ================= CARD GRIDS ================= */
.programs, .pricing-cards, .coaches, .testimonials{
  display:flex;
  justify-content:center;
  gap:25px;
  flex-wrap:wrap;
}

.program, .price-card, .coach, .review{
  background:white;
  padding:20px;
  border-radius:12px;
  width:260px;
  box-shadow:0 8px 15px rgba(0,0,0,0.08);
}

.price-card.highlighted{
  border:3px solid #008cff;
  transform:scale(1.06);
}

/* ================= FOOTER ================= */
footer{
  background:#0c0c0c;
  color:white;
  text-align:center;
  padding:45px 20px;
}
footer a{
  color:#008cff;
}
.footer-logo{
  width:120px;
  margin-bottom:20px;
}
.copy{
  opacity:0.7;
  margin-top:10px;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
  nav{
    flex-direction:column;
    gap:10px;
  }
  .hero-row {
    flex-direction:column;
    text-align:center;
    gap:20px;
  }
  .hero-content h1, .hero-content p {
    text-align:center;
  }
  .hero-logo-side {
    width:180px;
  }
  .hero-buttons {
    justify-content:center;
  }
  .nav-links{
    flex-wrap:wrap;
    justify-content:center;
  }
}

/* ===== COACHES: SINGLE PREMIUM SLIDER ===== */
.coach-slider{
  width:100%;
  max-width:440px;
  margin:40px auto 0;
  overflow:hidden;
  position:relative;
}

.coach-track{
  display:flex;
  transition:transform .8s ease, opacity .6s ease;
}

.coach-card{
  min-width:100%;
  background:#fff;
  border-radius:22px;
  padding:34px 26px;
  text-align:center;
  box-shadow:0 14px 34px rgba(0,0,0,.14);
  opacity:0;
  transform:scale(.96);
  transition:opacity .6s ease, transform .6s ease;
}

.coach-card.active{
  opacity:1;
  transform:scale(1);
}

.coach-card img{
  width:230px;
  height:230px;
  object-fit:cover;
  border-radius:50%;
  margin-bottom:22px;
}

.coach-card h4{
  font-size:1.45rem;
  font-weight:700;
  margin-bottom:6px;
}

.coach-card p{
  font-size:1.05rem;
  color:#555;
}

/* Dots */
.coach-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:18px;
}

.coach-dots span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#ccc;
  cursor:pointer;
  transition:.3s;
}

.coach-dots span.active{
  background:#008cff;
}

/* Pause hint */
.coach-slider:hover .coach-track{
  transition-duration:1s;
}

/* ===== JOURNEY SLIDER ===== */
.journey-slider{
  max-width:1100px;
  margin:50px auto 0;
  overflow:hidden;
  position:relative;
}

.journey-track{
  display:flex;
  transition:transform .9s ease;
}

.journey-slide{
  min-width:100%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}

.journey-text h3{
  font-size:2rem;
  font-weight:700;
  margin-bottom:12px;
}

.journey-text p{
  font-size:1.1rem;
  color:#555;
  line-height:1.6;
}

.journey-image img{
  width:100%;
  height:360px;
  object-fit:cover;
  border-radius:20px;
  box-shadow:0 14px 30px rgba(0,0,0,.15);
}

/* Dots */
.journey-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:28px;
}

.journey-dots span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#ccc;
  cursor:pointer;
}

.journey-dots span.active{
  background:#008cff;
}

/* Mobile */
@media(max-width:900px){
  .journey-slide{
    grid-template-columns:1fr;
    text-align:center;
  }
  .journey-image img{
    height:280px;
  }
}
/* ===== EVENT POPUP ===== */
.startup-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;          /* 👈 hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.startup-popup.show {
  display: flex;          /* 👈 visible only when .show is added */
}

.popup-card{
  background:#fff;
  border-radius:24px;
  padding:42px 32px;
  width:90%;
  max-width:460px;
  text-align:center;
  position:relative;
  animation:popupScale .5s ease;
}

@keyframes popupScale{
  from{transform:scale(.9);opacity:0;}
  to{transform:scale(1);opacity:1;}
}

.popup-close{
  position:absolute;
  top:16px;
  right:18px;
  background:none;
  border:none;
  font-size:1.6rem;
  cursor:pointer;
}

.popup-logo{
  width:85px;             
  margin-bottom:9px;
}


/* CENTERED BLUE BADGE */
.event-badge{
  display:inline-block;
  margin:0 auto 18px;
  background:#008cff;
  color:#fff;
  padding:6px 16px;
  border-radius:20px;
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.5px;
}

/* TITLE */
.event-title{
  font-size:1.7rem;
  font-weight:800;
  margin-bottom:10px;
}

/* SUBTEXT */
.event-subtitle{
  font-size:1.05rem;
  color:#555;
  margin-bottom:18px;
}

/* DETAILS */
.event-details{
  font-size:.95rem;
  color:#333;
  margin-bottom:24px;
  line-height:1.7;
}

/* CTA */
.popup-btn{
  display:inline-block;
  background:#25D366;
  color:#fff;
  padding:14px 28px;
  border-radius:10px;
  font-weight:800;
  text-decoration:none;
}
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.popup {
  background: #ffffff;
  width: 92%;
  max-width: 520px;   /* ⭐ KEY: prevents huge popup */
  border-radius: 18px;
  padding: 26px 24px;
  text-align: center;
  position: relative;
  animation: popupFade 0.35s ease;
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 18px;
}

.countdown div {
  background: #f3f3f3;
  padding: 6px 6px;
  border-radius: 6px;
  min-width: 46px;
}

.countdown span {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.countdown small {
  font-size: 0.55rem;
  color: #666;
}

/* ================= MOBILE NAVBAR FINAL FIX ================= */
@media (max-width: 768px) {

  header {
    padding: 10px 16px;
  }

  nav {
    flex-direction: column;
    gap: 8px;
  }

  /* Logo smaller on mobile */
  .logo-img {
    height: 42px;
  }

  /* Menu layout */
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    text-align: center;
  }

  .nav-links li a {
    font-size: 14px;
  }

  .nav-links .btn {
    padding: 8px 14px;
    font-size: 14px;
  }

  /* Push hero below navbar correctly */
  .hero {
    padding-top: 155px;
  }

  /* 🔥 Lock hero logo size (prevents zooming issue) */
  .hero-logo-top {
    width: 180px;
    max-width: 180px;
    margin-bottom: 16px;
  }

  /* Heading scaling */
  .hero h2 {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .tagline {
    font-size: 1rem;
  }
}
.about-points {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.about-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 14px;
  width: 320px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: left;
}

.about-box h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
  color: #111;
}

.about-box ul {
  padding-left: 18px;
}

.about-box li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* ===== EVENTS SECTION ===== */
.event-subtitle {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #555;
}

.event-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 900px;
  margin: auto;
}

.event-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.event-content {
  text-align: left;
  max-width: 520px;   /* ensures enough width for one-line layout */
}

.event-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-content li {
  display: flex;
  align-items: center;     /* 🔥 keeps tick & text perfectly aligned */
  gap: 14px;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 18px;
  color: #111;
}

/* Tick */
.event-content li::before {
  content: "✔";
  color: #008cff;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Text */
.event-text {
  white-space: normal;     /* allows wrap ONLY if screen is small */
}


/* Text wrapper */
.event-content li span {
  display: block;
  text-align: left;   /* 🔥 DOUBLE SAFETY */
}

/* Mobile */
@media (max-width: 768px) {
  .event-layout {
    flex-direction: column;
    text-align: center;
  }

  .event-content li {
    text-align: left;
  }
}

/* ===== ABOUT SECTION LAYOUT ===== */
.about-layout {
  display: flex;
  gap: 50px;
  max-width: 1100px;
  margin: auto;
  align-items: flex-start;
}

/* LEFT SIDE */
.about-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.about-card h3 {
  margin-bottom: 10px;
  color: #333;
  font-size: 1.4rem;
}

.about-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
}

/* RIGHT SIDE */
.about-right {
  flex: 1.4;
}

.about-subtitle {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #333;
}

.about-right p strong {
  color: #333;
}

.about-highlight {
  font-size: 1.1rem;
  font-weight: 600;
  color: #008cff;
  margin-top: 12px;
}
.about-right.about-card {
  line-height: 1.75;
}
.about-right.about-card p strong {
  color: #333;
}

/* MOBILE */
@media (max-width: 768px) {
  .about-layout {
    flex-direction: column;
  }

  .about-left, .about-right {
    text-align: center;
  }

  .about-right p {
    text-align: left;
  }
}
