:root {
  /* Numeray */
  --numeray-green: #166534;
  --numeray-green-soft: #1f7a4a;

  /* SportFleks */
  --sport-green: #0f3d2e;
  --sport-green-soft: #1b6b4f;

  /* Layout */
  --section-space: 3.5rem;
}


/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 70vh;
  background: url("../images/numeray_08.jpg") center right / cover no-repeat;
  display: flex;
  align-items: center;
}



.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2,6,23,0.95) 0%,
    rgba(2,6,23,0.75) 40%,
    rgba(2,6,23,0.25) 70%,
    rgba(2,6,23,0.05) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-left: 6rem;
  color: #ffffff;
}

.hero-content h1 {
  font-size: 4.2rem;
  line-height: 1.05;
  font-weight: 700;
}



.hero-content h1 span {
  color: #38bdf8;
}


.hero-content p {
  margin-top: 1.4rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #e5e7eb;
}

.hero-cta {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 600;
  color: #38bdf8;
  text-decoration: none;
}

.hero-cta:hover {
  color: #0ea5e9;
}


/* ================= TRIPLE BLUE SECTION ================= */
.triple-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;   /* ← THIS is the key */

}

.card {
  padding: 4rem 3rem;
  background: #3b82f6;
  color: #ffffff;
}

.card.dark {
  background: #1e40af;
}

.card h2 {
  font-size: 1.6rem;
}

.card p {
  margin-top: 1rem;
  color: #e0f2fe;
}

.card a {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  color: #e0f2fe;
  text-decoration: none;
}


/* ================= NUMERAY INTRO (CENTERED) ================= */
.numeray-intro {
  max-width: 900px;
  margin: var(--section-space) auto calc(var(--section-space) * 0.7);
  text-align: center;
}

.numeray-intro h1 {
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--numeray-green);
}

.numeray-intro p {
  margin-top: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #64748b;
}

.numeray-intro h2 a {
  color: #166534;
  text-decoration: none;
}


/* ================= NUMERAY SPLIT ================= */
.numeray-split {
  max-width: 1200px;
  margin: var(--section-space) auto calc(var(--section-space) * 1.2);
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.numeray-left h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--numeray-green);
}

.numeray-left p {
  margin-top: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #64748b;
  max-width: 420px;
}

.numeray-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.65rem 1.6rem;
  border: 1.5px solid var(--numeray-green);
  color: var(--numeray-green);
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
}

.numeray-btn:hover {
  background: var(--numeray-green);
  color: #ffffff;
}

.numeray-right img {
  width: 80%;
  max-width: 380px;
  margin-left: auto;
  
}


/* ================= NUMERAY GRID ================= */
.numeraygrid-section {
  padding: calc(var(--section-space) * 1.1) 0;
  background: #ffffff;
}

.numeraygrid-grid {
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 0.5rem;
  row-gap: 0.5rem;
  align-items: center;
}

.numeraygrid-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 0;
}

/* ----- TEXT BLOCK ----- */
.numeraygrid-text {
  text-align: center;
  padding: 0.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

/* Headline (smaller, controlled) */
.numeraygrid-text h2 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;     /* tighter title → paragraph */
  line-height: 1.25;
  font-weight: 700;
  color: #0f172a;
}

.numeraygrid-text h2 span {
  font-size: 1.2rem;
  font-weight: 600;
}


/* Accent word */
.numeraygrid-text span {
  color: var(--numeray-green);
}

/* Paragraph (smaller & tighter) */
.numeraygrid-text p {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
}

/* ----- DISCOVER CTA ----- */
.discover-link {
  margin-top: 0.9rem;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--numeray-green);
  text-decoration: none;
}

.discover-link:hover {
  color: var(--numeray-green-soft);
}

.discover-link .arrow {
  margin-left: 0.4rem;
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.discover-link:hover .arrow {
  transform: translateX(6px);
}




/* ================= FIX NUMERAY GRID TEXT SPACING ================= */


.numeraygrid-text p {
  margin-top: 0;
  margin-bottom: 0.6rem;     /* tighter paragraph → button */
}

.numeraygrid-text .discover-link {
  margin-top: 0;
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .hero-content {
    padding-left: 2rem; /* Numeray hero: move left on mobile only */
  }
  .hero-content h1 {
    font-size: 2.6rem;
  }

  .triple-section {
    grid-template-columns: 1fr;
  }

  .numeray-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .numeray-right img {
    margin: 3rem auto 0;
  }

  .numeraygrid-grid {
    grid-template-columns: 1fr;
  }

  .numeraygrid-grid img {
    height: 220px;
  }
}



/* ========================= SPORTFLEKS ========================= */

/* --------------------------------------------------------------
   BACKGROUND WRAPPER (INTRO + SPLIT ONLY)
   -------------------------------------------------------------- */

.sportfleks-bg {
  position: relative;
  width: 100%;
  background: url("../images/sportfleks_background.jpg") center / cover no-repeat;
  padding: 0rem 0;   /* ⬅️ ADD THIS */

}

/* Overlay */
.sportfleks-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.65);
  z-index: 0;
}

/* Keep content above overlay */
.sportfleks-bg > * {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------
   INTRO
   -------------------------------------------------------------- */

.sportfleks-intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem 2rem;
  text-align: center;
}

.sportfleks-intro h1 {
  font-size: 2.6rem;
  font-weight: 500;
}

.sportfleks-intro h1 a {
  color: #ffffff;
  text-decoration: none;
}

.sportfleks-intro p {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #e5e7eb;
}

/* --------------------------------------------------------------
   SPLIT
   -------------------------------------------------------------- */

.sportfleks-split {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 2rem; /* no gap to carousel */
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

/* Left */
.sportfleks-left img {
  width: 100%;
  max-width: 320px;
}

/* Right */
.sportfleks-right h3 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #ffffff;
}

.sportfleks-right p {
  margin-top: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e5e7eb;
  max-width: 420px;
}

/* Button */
.sportfleks-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.65rem 1.6rem;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
}

.sportfleks-btn:hover {
  background: #ffffff;
  color: var(--sport-green);
}

/* --------------------------------------------------------------
   REMOVE MOBILE TITLE (LIVE MOMENTS TEXT)
   -------------------------------------------------------------- */

.mobile-section-title {
  display: none !important;
}

/* --------------------------------------------------------------
   CAROUSEL (RESTORED & LOCKED)
   -------------------------------------------------------------- */

.sportfleks-carousel-section {
  width: 100%;
  padding: 0rem 0 0rem; /* top | sides | bottom */
  background: #ffffff;
  overflow: hidden;
}

.sportfleks-carousel {
  width: 100%;
  overflow: hidden;
}

.sportfleks-track {
  display: flex;
  gap: 0rem;
  width: calc(520px * 14); /* 7 images × 2 rounds */
  animation: scrollSport 35s linear infinite;
}

.sportfleks-track img {
  width: 520px;
  height: 320px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

@keyframes scrollSport {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}



.sportfleks-hero h1 {
  font-size: 3.2rem;
  font-weight: 600;
  color: #ffffff; /* ✅ THIS WAS MISSING */
}

.sportfleks-hero h2 {
  font-size: 3.2rem;
  font-weight: 600;
  color: #ffffff;
}



.sportfleks-hero .tagline {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 1.2rem;
}

.sportfleks-hero h3,
.sportfleks-hero p {
  color: #ffffff;
}


.sportfleks-carousel:hover .sportfleks-track {
  animation-play-state: paused;
}



/* --------------------------------------------------------------
   MOBILE
   -------------------------------------------------------------- */

@media (max-width: 900px) {
  .sportfleks-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sportfleks-left img {
    margin: 0 auto 2rem;
  }

  .sportfleks-track img {
    width: 260px;
    height: 180px;
  }
}

.sportfleks-carousel:active .sportfleks-track {
  animation-play-state: paused;
}
