/* ======================================================
   FITRANGER — PREMIUM RESPONSIVE DESIGN SYSTEM
   Black × Gold × Clean Luxury
   ====================================================== */

/* ================= VARIABLES ================= */
:root {
  --black: #0a0a0a;
  --black-soft: #121212;
  --black-deep: #060606;

  --gold: #d4af37;
  --gold-soft: #e6c96f;

  --white: #ffffff;
  --muted: #9c9c9c;

  --border: rgba(255,255,255,0.1);
}

/* ================= BASE ================= */
* {
  box-sizing: border-box;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* Normalize section spacing */
section {
  padding: 80px 0 !important;
  position: relative;
}

/* ================= TYPOGRAPHY ================= */
h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--gold-soft);
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ================= NAVBAR ================= */
.navbar {
  background: rgba(6,6,6,0.95);
  border-bottom: 1px solid var(--border);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.cta-btn-nav {
  background: var(--gold);
  color: #000;
  padding: 0.45rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
}

/* ================= HERO ================= */
.hero {
  padding: 140px 0 100px !important;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: -15%;
  top: -20%;
  width: 65%;
  height: 140%;
  background: radial-gradient(
    circle,
    rgba(212,175,55,0.12),
    transparent 65%
  );
}

.hero-content .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero-title .highlight {
  color: var(--gold);
  position: relative;
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 90px;
  height: 3px;
  background: var(--gold);
}

/* Stats */
.hero-stats {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-item {
  background: var(--black-soft);
  padding: 16px;
  border-left: 3px solid var(--gold);
}

/* ================= BRANCHES ================= */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.branch-card {
  background: var(--black-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  position: relative;
}

.branch-card::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.branch-image img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 10px;
}

/* ================= SERVICES ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--black-soft);
  padding: 20px;
  border-left: 4px solid var(--gold);
}

/* ================= MEMBERSHIP ================= */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.membership-card {
  background: var(--black-soft);
  border: 1px solid var(--border);
  padding: 22px;
}

.membership-card.popular {
  border-color: var(--gold);
}

/* ================= CONTACT ================= */
#contact {
  padding: 70px 0 !important;
}

#contact .contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

#contact .contact-card {
  padding: 14px;
  margin-bottom: 14px;
}

#contact-form {
  max-width: 520px;
  width: 100%;
}

#contact textarea {
  height: 110px;
}

/* ================= FINAL CTA ================= */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(
    180deg,
    rgba(212,175,55,0.12),
    transparent
  );
}

/* ================= FOOTER ================= */
.footer {
  background: var(--black-deep);
  border-top: 1px solid var(--border);
}

/* ======================================================
   RESPONSIVE BREAKPOINTS — ALL DEVICES
   ====================================================== */

/* Large tablets / small laptops */
@media (max-width: 1200px) {
  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content .container {
    gap: 50px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .hero-content .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero::after {
    display: none;
  }

  .hero-text {
    text-align: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .membership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  section {
    padding: 60px 0 !important;
  }

  .branches-grid,
  .services-grid,
  .membership-grid {
    grid-template-columns: 1fr;
  }

  #contact .contact-content {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.4rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  section {
    padding: 50px 0 !important;
  }

  .hero {
    padding: 110px 0 80px !important;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  p {
    font-size: 0.9rem;
  }
}
