/* ===============================
   CSS VARIABLES
================================ */
:root {
  --dark-blue: #0b132b;
  --dark-blue-2: #0f1c3f;
  --gold: #d4af37;
  --soft-white: #f9fafb;
}

/* ===============================
   NAVBAR – DARK BLUE + GOLD
================================ */
.navbar {
  background: linear-gradient(180deg, #0b132b, #0f1c3f);
  padding: 14px 0;
  transition: all 0.3s ease;
}

.navbar-brand img {
  height: 28px;
}

/* Nav links */
.navbar-nav .nav-link {
  color: #e5d9b6 !important;
  font-weight: 500;
  margin: 0 12px;
  position: relative;
  padding: 6px 0;
}

/* underline hover */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* ===============================
   MOBILE NAVBAR (RC PERFORM STYLE)
================================ */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #0b132b;
    margin-top: 12px;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
  }

  .navbar-nav {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .navbar-nav .nav-link {
    font-size: 1.1rem;
    padding: 10px 0;
  }

  .navbar-collapse .d-flex {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
  }

  .navbar-collapse .btn {
    width: 100%;
    padding: 12px;
  }
}

/* Desktop navbar layout */
@media (min-width: 992px) {
  .navbar-nav {
    flex-direction: row;
    align-items: center;
  }
}

/* ===============================
   BUTTONS
================================ */
.btn-outline-light {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-light:hover {
  background: rgba(212,175,55,0.15);
  color: #fff;
}

.btn-primary {
  background: linear-gradient(135deg, #f5c542, #b8932f);
  border: none;
  color: #0b132b;
  box-shadow: 0 8px 20px rgba(212,175,55,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: #0b132b;
}

/* ===============================
   HOME PAGE ONLY
================================ */
.home-page {
  background: var(--dark-blue);
  color: var(--soft-white);
  font-family: 'Poppins', sans-serif;
}

/* HERO */
.home-page .hero {
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.home-page .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.home-page .hero-slide.active {
  opacity: 1;
}

.home-page .hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.home-page .hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
}

.home-page .hero span {
  color: var(--gold);
}

.home-page .hero p {
  max-width: 600px;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* HOME BUTTONS */
.home-page .btn-gold {
  background: var(--gold);
  color: #000;
  border-radius: 999px;
  font-weight: 600;
  padding: 10px 28px;
}

.home-page .btn-outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
}

.home-page .btn-outline-gold:hover {
  background: var(--gold);
  color: #000;
}

/* SECTIONS */
.home-page .section {
  padding: 80px 0;
}

.home-page .section-title {
  font-weight: 700;
  margin-bottom: 40px;
}

.home-page .section-title span {
  color: var(--gold);
}

/* FEATURE IMAGE SLIDER */
.feature-slider {
  position: relative;
  overflow: hidden;
}

.feature-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 1.6s ease;
}

.feature-slider img.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}


/* ===============================
   PROGRAM FILTERS
================================ */
.program-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: #0b132b;
  box-shadow: 0 6px 18px rgba(212,175,55,0.4);
}

/* ===============================
   PROGRAMS & PRIVATE TRAINING
================================ */
.programs-section {
  background: var(--dark-blue);
  padding: 40px 0 80px;
}

.program-card,
.programs-section .card {
  background: var(--dark-blue-2);
  border-radius: 18px;
  border: none;
  color: #e5e7eb;
  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
  transition: all 0.35s ease;
}

.program-card:hover,
.programs-section .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

.program-card img,
.programs-section img {
  height: 270px;
  object-fit: cover;
}

.program-card .card-title {
  color: #ffffff;
  font-weight: 600;
}

/* ===============================
   ABOUT PAGE
================================ */
.about-hero {
  background: linear-gradient(180deg, #0b132b, #0f1c3f);
  padding: 120px 20px;
  color: #f5d77a;
}

.about-values {
  background: var(--dark-blue);
}

.value-box {
  background: var(--dark-blue-2);
  padding: 30px;
  border-radius: 18px;
  transition: 0.3s;
}

.value-box:hover {
  transform: translateY(-6px);
}

/* ===============================
   CONTACT PAGE – HIGH CONTRAST
================================ */

/* HERO */
.contact-hero {
  background: linear-gradient(135deg, #0b1437, #102a7a);
  padding: 120px 20px 90px;
  text-align: center;
  color: #ffffff;
}

.contact-hero h1 {
  font-weight: 800;
  color: #ffffff;
}

.contact-hero p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #f1f5ff;   /* MUCH BRIGHTER */
  opacity: 1;       /* REMOVE DIMMING */
}

/* SECTION BG */
.contact-section {
  background: #f4f6fb;
}

/* CARD */
.contact-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 35px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.15);
  color: #1f2937; /* strong readable default */
}

/* HEADINGS */
.section-label {
  font-weight: 800;
  margin-bottom: 20px;
  color: #0b1437;
}

/* TEXT */
.contact-card p,
.contact-card span,
.contact-card small {
  color: #374151; /* readable gray */
  font-size: 1rem;
}

/* FORM */
.contact-card label {
  font-weight: 700;
  color: #0b1437;
}

.contact-card .form-control {
  border-radius: 12px;
  padding: 13px 15px;
  border: 1px solid #cfd6e3;
  color: #111827;
}

.contact-card .form-control::placeholder {
  color: #6b7280;
}

.contact-card .form-control:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 0.2rem rgba(212,175,55,0.35);
}

/* BUTTON */
.contact-card .btn-primary {
  background: linear-gradient(135deg, #d4af37, #f3dc88);
  border: none;
  color: #0b1437;
  font-weight: 800;
  border-radius: 999px;
  padding: 13px 24px;
  letter-spacing: 0.5px;
}

.contact-card .btn-primary:hover {
  background: linear-gradient(135deg, #f3dc88, #d4af37);
}

/* ICONS */
.contact-card i {
  color: #d4af37;
  margin-right: 10px;
  font-size: 1.2rem;
}

/* SOCIAL */
.social-icons a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0b1437;
  color: #ffffff;
  margin-right: 10px;
  font-size: 1.1rem;
}

.social-icons a:hover {
  background: #d4af37;
  color: #0b1437;
  transform: translateY(-3px);
}


/* ===============================
   FOOTER
================================ */
/* ===============================
   FOOTER - MODERN DESIGN WITH ANIMATIONS
================================ */
.site-footer {
  background: linear-gradient(180deg, #020617 0%, #0a0e1a 100%);
  color: #b8c1cc;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

/* Subtle background effects */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #d4af37 0%, transparent 50%, #FDB714 100%);
  z-index: 1;
}

.site-footer::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-container {
  max-width: 1400px;
  margin: auto;
  padding: 0 40px 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 50px;
  position: relative;
  z-index: 2;
}

/* Footer Columns Animation */
.footer-col {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
  transition: transform 0.3s ease;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }

.footer-col:hover {
  transform: translateY(-5px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Brand Section */
.footer-col.brand {
  position: relative;
}

.footer-col.brand::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, #d4af37 50%, transparent 100%);
  opacity: 0.3;
}

.footer-logo .navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.footer-logo .navbar-brand:hover {
  transform: translateX(5px);
}

.footer-logo img {
  filter: brightness(1.2);
  transition: filter 0.3s ease;
}

.footer-logo .navbar-brand:hover img {
  filter: brightness(1.5);
}

.brand-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: #d4af37;
  letter-spacing: 3px;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.footer-col.brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

/* Footer Headings */
.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 25px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #FDB714;
  transition: width 0.3s ease;
}

.footer-col:hover h4::after {
  width: 60px;
}

/* Footer Lists */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.footer-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #FDB714;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-col ul li:hover::before {
  opacity: 1;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #FDB714;
  transform: translateX(5px);
  text-shadow: 0 0 10px rgba(253, 183, 20, 0.3);
}

/* Contact Info */
.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-left: 0 !important;
}

.contact-info li::before {
  display: none;
}

.contact-info i {
  color: #FDB714;
  margin-right: 12px;
  font-size: 1.1rem;
  margin-top: 3px;
  min-width: 20px;
}

.contact-info a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #FDB714;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 12px;
  margin: 25px 0;
}

.social-icons a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #FDB714;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  z-index: 0;
}

.social-icons a:hover {
  background: #FDB714;
  color: #0a0e1a;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(253, 183, 20, 0.4);
  border-color: #FDB714;
}

.social-icons a:hover::before {
  width: 100%;
  height: 100%;
}

.social-icons a i {
  position: relative;
  z-index: 1;
}

/* Legal Links */
.legal-links {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
  position: relative;
}

.legal-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #d4af37;
  transition: width 0.3s ease;
}

.legal-links a:hover {
  color: #d4af37;
}

.legal-links a:hover::after {
  width: 100%;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 25px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  margin-top: 60px;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: #FDB714;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0 30px 50px;
  }
  
  .footer-col.brand::before {
    display: none;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 0 20px 40px;
  }
  
  .footer-col h4 {
    font-size: 1.3rem;
  }
  
  .social-icons {
    justify-content: flex-start;
  }
  
  .legal-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .site-footer {
    padding: 60px 0 0;
  }
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Footer social icons */
.social-icons a {
  font-size: 20px;
  color: var(--gold);
  transition: 0.3s;
}

.social-icons a:hover {
  color: #fff;
  transform: translateY(-3px);
}


/* ===============================
   HERO OVERLAY (RC PERFORM STYLE)
   FIXED – NO NAVBAR BLEED
================================ */

/* Ensure hero container is correct */
.home-page .hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
}

/* Hero slide wrapper */
.home-page .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Overlay LIMITED to hero only */
.home-page .hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11,19,43,0.65) 0%,
    rgba(15,28,63,0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Hero content ABOVE overlay */
.home-page .hero-content {
  position: relative;
  z-index: 2;
}


/* ===============================
   HERO TEXT ANIMATION
================================ */

.hero h1,
.hero p,
.hero .btn {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.hero.animate h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.hero.animate p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.hero.animate .btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}


/* ===============================
   NAVBAR SAFETY FIX
   (prevents long dark overlay)
================================ */

/* Navbar always above hero */
.navbar {
  z-index: 1050;
}

/* Push content down instead of spacer div */
body {
  padding-top: 90px;
}


/* ===============================
   MOBILE PERFECTION
================================ */

@media (max-width: 768px) {

  /* HERO */
  .home-page .hero {
    min-height: 85vh;
    padding-top: 20px;
  }

  .home-page .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .home-page .hero p {
    font-size: 1rem;
  }

  .home-page .hero .btn {
    display: block;
    width: 100%;
    margin-bottom: 12px;
  }

  /* FEATURES */
  .feature {
    margin-bottom: 60px;
  }

  .feature-content {
    padding: 30px 20px;
    text-align: center;
  }

  .feature h4 {
    font-size: 1.3rem;
  }

  /* CTA */
  .section.text-center h2 {
    font-size: 1.8rem;
  }
}




.about-hero {
  background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
              url('../images/about-hero.jpg') center/cover no-repeat;
}

.value-box {
  transition: transform .3s ease, box-shadow .3s ease;
  background: #fff;
}

.value-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* ===============================
   GLOBAL MOBILE FIXES
================================ */
html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

/* Navbar spacing fix */
body::before {
  content: "";
  display: block;
  height: 90px;
}

@media (max-width: 768px) {
  body::before {
    height: 72px;
  }
}

/* Navbar mobile cleanup */
.navbar {
  padding: 12px 0;
}

.navbar-brand img {
  height: 42px;
  width: 42px;
}

.brand-text {
  font-size: 14px;
  line-height: 1.1;
}

/* Center auth buttons on mobile */
@media (max-width: 768px) {
  .navbar .d-flex {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  .navbar .btn {
    width: 100%;
    text-align: center;
  }
}



/* ===============================
   NAVBAR – MOBILE FIX
================================ */

.seghan-navbar {
  background: linear-gradient(180deg, #0b132b, #0f1c3f);
  padding: 10px 0;
}

/* Logo */
.brand-logo {
  width: 38px;
  height: 38px;
}

.brand-text {
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Fixed-top spacer */
.navbar-spacer {
  height: 72px;
}

/* Nav links */
.navbar-nav .nav-link {
  padding: 12px 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Buttons container */
.nav-actions {
  max-width: 220px;
  margin: 20px auto 0;
}

/* ===============================
   MOBILE ONLY
================================ */
@media (max-width: 768px) {

  .navbar-collapse {
    background: #0f1c3f;
    padding: 20px 15px 30px;
  }

  .navbar-nav {
    gap: 8px;
  }

  .brand-text {
    font-size: 13px;
  }

  .navbar-spacer {
    height: 64px;
  }
}
