/* ================================
   TITAN FITNESS CLUB - STYLES.CSS
   Color Palette:
   #886f52 - Warm Brown (Primary)
   #6e6d5f - Slate Olive (Secondary)
   #ffffff - White (Background)
   #111111 - Near Black (Text)
================================ */

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --primary:   #886f52;
  --secondary: #6e6d5f;
  --white:     #ffffff;
  --off-white: #000000;
  --light-bg:  #f2efec;
  --light-gray:#e8e5e1;
  --mid-gray:  #b0aca6;
  --body-text: #111111;
  --dark-text: #111111;
  --dark:      #1c1a18;
  --font-display: 'Bebas Neue', cursive;
  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Raleway', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--body-text);
  overflow-x: hidden;
}

/* ---- GLOBAL H2 & P: BLACK ---- */
h2 { color: #111111; }
p { color: #111111; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ---- PRELOADER ---- */
#preloader {
  position: fixed; inset: 0;
  background: var(--white);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s, visibility .5s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
  width: 150px; height: 150px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--primary);
  animation: pulse-logo 1.5s ease-in-out infinite;
  margin-bottom: 20px;
}
@keyframes pulse-logo {
  0%,100% { transform: scale(1); box-shadow: 0 0 20px rgba(136,111,82,.25); }
  50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(136,111,82,.5); }
}
.preloader-bar {
  width: 200px; height: 3px;
  background: var(--light-gray);
  border-radius: 2px; overflow: hidden; margin: 0 auto 15px;
}
.preloader-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  animation: fill-bar 2s ease-in-out forwards;
}
@keyframes fill-bar { to { width: 100%; } }
.preloader-text {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 6px;
  color: var(--primary);
  animation: blink-text 1s ease infinite;
}
@keyframes blink-text { 0%,100% { opacity:1; } 50% { opacity:.3; } }

/* ---- NAVBAR ---- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all .1s ease;
}
#navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  padding: 18px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  border-bottom: 1px solid var(--light-gray);
}
.nav-container {
  max-width: 1300px; margin: 0 auto;
  padding: 0 30px;
  display: flex; align-items: center; gap: 20px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  width: 68px; height: 68px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--primary);
  transition: transform .3s;
}
.nav-logo:hover img { transform: rotate(-0.6deg) scale(1.1); }
.nav-logo span {
  font-family: var(--font-heading);
  font-size: 35px; font-weight: 700; letter-spacing: 2px;
  color: #886f52;
  line-height: 1;
}
#navbar.scrolled .nav-logo span { color: var(--dark-text); }
.nav-logo strong { color: var(--primary); }

.nav-links {
  display: flex; align-items: center; gap: 5px;
  list-style: none; margin: 0 auto;
}
.nav-links > li > a {
  font-family: var(--font-heading);
  font-size: 15.5px; font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brown);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  transition: all .3s;
  position: relative;
}
#navbar.scrolled .nav-links > li > a { color: var(--dark-text); }
.nav-links > li > a::after {
  content: '';
  position: absolute; bottom: 2px; left: 14px; right: 14px;
  height: 2px; background: var(--primary);
  transform: scaleX(0);
  transition: transform .3s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--primary); }
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { transform: scaleX(1); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown > a { cursor: pointer; }
.dropdown > a i { font-size: 9px; margin-left: 4px; transition: transform .3s; }
.dropdown:hover > a i { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  min-width: 240px;
  list-style: none;
  padding: 10px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .3s;
  box-shadow: 0 20px 50px rgba(0,0,0,.1);
}
.dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu li a {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading);
  font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--body-text);
  text-decoration: none;
  padding: 10px 20px;
  transition: all .2s;
}
.dropdown-menu li a i { color: var(--grey); width: 16px; }
.dropdown-menu li a:hover {
  color: var(--white);
  background: var(--off-white);
  padding-left: 28px;
}

.nav-cta {
  font-family: var(--font-heading);
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white) !important;
  background: var(--primary);
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: all .3s;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(136,111,82,.3);
}

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 5px;
  margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark-text);
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  position: relative; height: 100vh;
  min-height: 700px; overflow: hidden;
}
.hero-slider { position: relative; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
  background: #000;
}
/* ---- HERO VIDEO ---- */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: fill;
  z-index: 2;
}
.hero-overlay,
.hero-content { z-index: 1; position: relative; }
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.5) 60%, rgb(0, 0, 0) 120%);
}
.hero-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 100%; padding: 0 20px;
}
.hero-sub {
  font-family: var(--font-heading);
  font-size: 15px; letter-spacing: 5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
  animation: slideInUp .8s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(70px, 10vw, 140px);
  line-height: .9;
  color: var(--white);
  margin-bottom: 20px;
  animation: slideInUp .8s .2s ease both;
}
.hero-title span { color: #bd7a54e7; }
.hero-desc {
  font-size: 16px; color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  animation: slideInUp .8s .4s ease both;
}
.hero-btns {
  display: flex; gap: 16px; justify-content: center;
  animation: slideInUp .8s .6s ease both;
}
@keyframes slideInUp {
  from { opacity:0; transform: translateY(30px); }
  to { opacity:1; transform: translateY(0); }
}

.hero-controls {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 20px;
  z-index: 5;
}
.hero-prev, .hero-next {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
  backdrop-filter: blur(5px);
}
.hero-prev:hover, .hero-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}
.hero-dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer; transition: all .3s;
}
.dot.active { background: var(--primary); transform: scale(1.3); }
.hero-scroll-indicator {
  position: absolute; bottom: 40px; right: 40px;
  z-index: 5;
}
.hero-scroll-indicator span {
  display: block; width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--primary));
  margin: 0 auto;
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- BUTTONS ---- */
.btn-primary {
  font-family: var(--font-heading);
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white);
  background: var(--primary);
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all .3s;
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(136,111,82,.3);
}
.btn-outline {
  font-family: var(--font-heading);
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white);
  background: transparent;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all .3s;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}
.btn-lg { padding: 18px 48px; font-size: 14px; }

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--primary);
  padding: 30px 0;
}
.stats-container {
  max-width: 1300px; margin: 0 auto; padding: 0 30px;
  display: flex; justify-content: space-around;
  align-items: center; flex-wrap: wrap; gap: 20px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 50px; color: var(--white);
  line-height: 1;
}
.stat-plus { font-size: 30px; color: var(--white); }
.stat-item p {
  font-family: var(--font-heading);
  font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
}

/* ---- CONTAINER ---- */
.container { max-width: 1300px; margin: 0 auto; padding: 0 30px; }

/* ---- SECTIONS ---- */
section { padding: 100px 0; }
.section-label {
  font-family: var(--font-heading);
  font-size: 13px; letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  color: var(--dark-text);
  line-height: 1;
  margin-bottom: 20px;
}
.section-title span { color: var(--primary); }
.section-header { margin-bottom: 60px; }

/* ---- ABOUT ---- */
.about-section { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-images { position: relative; }
.about-img-main {
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}
.about-img-main img { width: 100%; height: 450px; object-fit: cover; display: block; }
.about-img-sub {
  position: absolute; bottom: -40px; right: -40px;
  width: 200px; border-radius: 8px; overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.about-img-sub img { width: 100%; height: 150px; object-fit: cover; display: block; }
.about-badge {
  position: absolute; top: 30px; left: -20px;
  background: var(--primary);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(136,111,82,.35);
}
.badge-years {
  display: block;
  font-family: var(--font-display);
  font-size: 50px; color: var(--white);
  line-height: 1;
}
.badge-text {
  font-family: var(--font-heading);
  font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.about-desc {
  color: var(--body-text);
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 30px;
}
.about-features {
  list-style: none; margin-bottom: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.about-features li {
  font-family: var(--font-heading);
  font-size: 14px; letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark-text);
  display: flex; align-items: center; gap: 8px;
}
.about-features li i { color: var(--primary); }

/* ---- PROGRAMS ---- */
.programs-section { background: var(--light-bg); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program-card {
  position: relative; border-radius: 10px;
  overflow: hidden; text-decoration: none;
  display: block;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  transition: transform .4s ease, box-shadow .4s ease;
}
.program-card:hover { transform: translateY(-10px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.program-img { height: 240px; overflow: hidden; }
.program-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.program-card:hover .program-img img { transform: scale(1.1); }
.program-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,26,24,.7) 0%, transparent 55%);
}
.program-content {
  padding: 24px;
  position: relative;
}
.program-icon {
  width: 48px; height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  transition: all .3s;
}
.program-icon i { color: var(--white); font-size: 18px; }
.program-card:hover .program-icon { transform: scale(1.1) rotate(10deg); background: var(--secondary); }
.program-content h3 {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 600;
  letter-spacing: 1px;
  color: var(--dark-text);
  margin-bottom: 8px;
}
.program-content p {
  font-size: 13px; color: var(--body-text);
  line-height: 1.7; margin-bottom: 16px;
}
.program-link {
  font-family: var(--font-heading);
  font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .3s;
}
.program-card:hover .program-link { gap: 10px; }

/* ---- TRAINERS ---- */
.trainers-section { background: var(--white); }
.trainers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trainer-card {
  border-radius: 10px; overflow: hidden;
  background: var(--off-white);
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  transition: transform .3s, box-shadow .3s;
}
.trainer-card:hover { transform: translateY(-8px); box-shadow: 0 14px 35px rgba(0,0,0,.12); }
.trainer-img { position: relative; overflow: hidden; }
.trainer-img img {
  width: 100%; height: 320px; object-fit: cover;
  display: block; transition: transform .5s;
}
.trainer-card:hover .trainer-img img { transform: scale(1.05); }
.trainer-socials {
  position: absolute; inset: 0;
  background: rgba(136,111,82,.7);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  opacity: 0; transition: opacity .3s;
}
.trainer-card:hover .trainer-socials { opacity: 1; }
.trainer-socials a {
  width: 40px; height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 15px;
  text-decoration: none;
  transform: translateY(10px);
  transition: transform .3s;
}
.trainer-card:hover .trainer-socials a { transform: translateY(0); }
.trainer-info {
  padding: 20px;
  border-top: 2px solid var(--light-gray);
}
.trainer-info h3 {
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 600;
  color: var(--dark-text); margin-bottom: 4px;
}
.trainer-info p {
  font-size: 12px; color: var(--primary);
  letter-spacing: 1px;
}

/* ---- MEMBERSHIP ---- */
.membership-section { padding: 0; }
.membership-bg { background-size: cover; background-position: center; padding: 100px 0; position: relative; }
.membership-overlay { position: absolute; inset: 0; background: rgba(28,26,24,.88); }
.membership-section .container { position: relative; z-index: 2; }
.plans-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; align-items: start;
}
.plan-card {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 10px; padding: 36px;
  text-align: center;
  transition: all .3s;
}
.plan-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
}
.plan-card.featured {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.04);
}
.plan-card.featured:hover { transform: scale(1.05) translateY(-10px); }
.plan-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--secondary);
  color: var(--white);
  padding: 4px 14px; border-radius: 20px;
  margin-bottom: 20px;
}
.plan-card.featured .plan-badge { background: var(--white); color: var(--primary); }
.plan-name {
  font-family: var(--font-heading);
  font-size: 14px; letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}
.plan-card.featured .plan-name { color: rgba(255,255,255,.85); }
.plan-price {
  font-family: var(--font-display);
  font-size: 70px; color: var(--dark-text);
  line-height: 1; margin-bottom: 6px;
}
.plan-card.featured .plan-price { color: var(--white); }
.plan-price span { font-size: 24px; vertical-align: top; margin-top: 14px; display: inline-block; }
.plan-period {
  font-size: 12px; color: #888;
  letter-spacing: 1px; margin-bottom: 28px;
}
.plan-card.featured .plan-period { color: rgba(255,255,255,.7); }
.plan-features { list-style: none; margin-bottom: 32px; }
.plan-features li {
  font-size: 14px; color: var(--body-text);
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.plan-card.featured .plan-features li { color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.2); }
.plan-features li i { color: var(--primary); font-size: 12px; }
.plan-card.featured .plan-features li i { color: var(--white); }
.plan-cta {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white);
  background: var(--primary);
  padding: 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: all .3s;
}
.plan-cta:hover { background: var(--secondary); }
.plan-card.featured .plan-cta {
  background: var(--white);
  color: var(--primary);
}
.plan-card.featured .plan-cta:hover { background: var(--off-white); }

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--light-bg); }
.testimonials-slider {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 10px; padding: 36px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  border: 1px solid var(--light-gray);
  transition: box-shadow .3s, transform .3s;
}
.testimonial-card:hover { box-shadow: 0 12px 35px rgba(0,0,0,.1); transform: translateY(-4px); }
.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 120px; color: rgba(136,111,82,.08);
  position: absolute; top: -10px; left: 20px;
  line-height: 1;
}
.testimonial-stars { color: var(--primary); margin-bottom: 16px; font-size: 14px; }
.testimonial-card p {
  color: var(--body-text); font-size: 14px;
  line-height: 1.8; margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--primary);
}
.testimonial-author h4 {
  font-family: var(--font-heading);
  font-size: 14px; color: var(--dark-text);
  margin-bottom: 2px;
}
.testimonial-author span { font-size: 12px; color: var(--primary); }

/* ---- CTA BANNER ---- */
.cta-banner { padding: 0; }
.cta-bg { position: relative; padding: 120px 0; background-size: cover; background-position: center; background-attachment: fixed; }
.cta-overlay { position: absolute; inset: 0; background: rgba(28,26,24,.82); }
.cta-content {
  position: relative; z-index: 2;
  text-align: center;
}
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  color: var(--white); line-height: 1;
  margin-bottom: 20px;
}
.cta-content h2 span { color: var(--primary); }
.cta-content p { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 40px; }

/* ---- FOOTER ---- */
.footer { background: var(--dark); }
.footer-top { padding: 80px 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}
.footer-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; margin-bottom: 20px;
}
.footer-logo img {
  width: 50px; height: 50px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--primary);
}
.footer-logo span {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 2px; color: var(--white);
}
.footer-logo strong { color: var(--primary); }
.footer-brand p {
  color: rgba(255,255,255,.55); font-size: 14px;
  line-height: 1.8; margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  text-decoration: none; font-size: 14px;
  transition: all .3s;
}
.footer-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}
.footer-links h4, .footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
  color: rgba(255,255,255,.5); text-decoration: none;
  font-size: 14px;
  transition: all .3s;
  display: flex; align-items: center; gap: 6px;
}
.footer-links ul li a::before {
  content: '→'; color: var(--primary); opacity: 0;
  transition: all .3s;
}
.footer-links ul li a:hover {
  color: var(--primary);
  padding-left: 8px;
}
.footer-links ul li a:hover::before { opacity: 1; }
.footer-contact ul { list-style: none; }
.footer-contact ul li {
  display: flex; align-items: flex-start; gap: 12px;
  color: rgba(255,255,255,.5); font-size: 14px;
  line-height: 1.7; margin-bottom: 14px;
}
.footer-contact ul li i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  background: rgba(0,0,0,.3);
  padding: 20px 0; text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom p { color: rgba(255,255,255,.35); font-size: 13px; }

/* ---- SCROLL TOP ---- */
.scroll-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: all .3s;
  z-index: 999;
  font-size: 14px;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--secondary); transform: translateY(-5px); }

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .15s; }
.reveal.delay-2 { transition-delay: .3s; }
.reveal.delay-3 { transition-delay: .45s; }

/* ==============================
   WORKOUT PAGES (shared)
============================== */
.page-hero {
  height: 420px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex; align-items: flex-end;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,26,24,.92) 20%, rgba(28,26,24,.4) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 50px;
  align-items:center;
}
.breadcrumb {
  font-family: var(--font-heading);
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(50px, 7vw, 90px);
  color: var(--white); line-height: 1;
}
.page-hero-content h1 span { color: var(--primary); }

.workout-layout {
  display: grid; grid-template-columns: 1fr 280px;
  gap: 40px; padding: 80px 0;
}
.workout-tabs {
  display: flex; gap: 5px; flex-wrap: wrap;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--light-gray);
  padding-bottom: 0;
}
.workout-tab {
  font-family: var(--font-heading);
  font-size: 15px; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--body-text);
  padding: 12px 22px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .3s;
  background: none; border-top: none; border-left: none; border-right: none;
}
.workout-tab:hover, .workout-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

.workout-content-img {
  width: 100%; height: 380px; object-fit: cover;
  border-radius: 8px; margin-bottom: 32px;
  display: block;
}
.workout-main h2 {
  font-family: var(--font-display);
  font-size: 38px; color: var(--black);
  margin-bottom: 16px;
}
.workout-main h3 {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 600;
  color: var(--black);
  margin: 28px 0 12px;
  letter-spacing: .5px;
}
.workout-main p {
  color: var(--body-text);
  font-size: 18px; line-height: 1.9;
  margin-bottom: 16px;
}
.workout-main ul, .workout-main ol {
  padding-left: 0; margin-bottom: 20px;
  list-style: none;
}
.workout-main li {
  color: var(--body-text); font-size: 17.5px;
  line-height: 1.8; padding: 6px 0;
  padding-left: 24px; position: relative;
}
.workout-main li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--primary);
}
.workout-main ol li { counter-increment: list; }
.workout-main ol li::before {
  content: counter(list) '.';
  color: var(--primary); font-weight: 700;
}

.benefits-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 20px 0;
}
.benefit-item {
  background: transparent;
  border: 1px solid var(--light-gray);
  border-radius: 8px; padding: 20px;
  transition: all .3s;
}
.benefit-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(136,111,82,.1);
}
.benefit-item i {
  display: none;
}
.benefit-item h4 {
  font-family: var(--font-heading);
  font-size: 18px; color: var(--dark-text);
  margin-bottom: 6px; letter-spacing: .5px;
}
.benefit-item p { font-size: 16px; margin: 0; color: var(--body-text); }

.faq-section { margin-top: 50px; }
.faq-section h2 {
  font-family: var(--font-display);
  font-size: 40px; color: var(--dark-text);
  margin-bottom: 28px;
}
.faq-item {
  border-bottom: 1px solid var(--light-gray);
  overflow: hidden;
}
.faq-question {
  font-family: var(--font-heading);
  font-size: 19px; color: var(--dark-text);
  padding: 20px 0;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: color .3s;
}
.faq-question:hover { color: var(--primary); }
.faq-question i {
  font-size: 13px; transition: transform .3s;
  color: var(--primary);
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
  color: var(--body-text); font-size: 16px; line-height: 1.8;
}
.faq-answer-inner { padding-bottom: 20px; }
.faq-item.open .faq-answer { max-height: 200px; }

/* Sidebar */
.sidebar-widget {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 8px; padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-family: var(--font-heading);
  font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-gray);
}
.sidebar-nav { list-style: none; }
.sidebar-nav li a {
  display: flex; align-items: center; gap: 10px;
  color: var(--body-text); text-decoration: none;
  font-family: var(--font-heading);
  font-size: 13px; letter-spacing: .5px;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  transition: all .3s;
}
.sidebar-nav li a i { color: var(--primary); width: 16px; }
.sidebar-nav li a:hover { color: var(--primary); padding-left: 8px; }
.sidebar-nav li a.current { color: var(--primary); }
.sidebar-cta {
  background: var(--primary);
  border-radius: 8px; padding: 50px;
  top:0%;
  margin-top: 150px;
  margin-left: -70px;
  margin-right: -70px;
  position: relative;
  left:50px;
  text-align: center;
}
.sidebar-cta h4 {
  font-family: var(--font-display);
  font-size: 28px; color: var(--white);
  margin-bottom: 8px; border: none; padding: 0; letter-spacing: 0;
}
.sidebar-cta p { font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 18px; }
.sidebar-cta a {
  display: block; background: var(--white);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 14px; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none;
  padding: 12px; border-radius: 4px;
  transition: all .3s;
}
.sidebar-cta a:hover { background: var(--secondary); color: var(--white); }

/* ---- ABOUT PAGE ---- */
.team-section { background: var(--light-bg); }
.timeline-section { background: var(--white); }
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--light-gray);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex; margin-bottom: 50px;
  align-items: center;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-content {
  width: calc(50% - 40px);
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 8px; padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 28px; color: var(--primary); margin-bottom: 6px;
}
.timeline-content p { color: var(--body-text); font-size: 14px; line-height: 1.7; }
.timeline-dot {
  width: 16px; height: 16px;
  background: var(--primary); border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--light-gray);
  position: absolute; left: 50%;
  transform: translateX(-50%);
  flex-shrink: 0;
}

/* ---- GALLERY PAGE ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: 8px; aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(136,111,82,.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 30px; color: var(--white); }
.gallery-item.large { grid-column: span 2; grid-row: span 2; }

/* ---- CONTACT PAGE ---- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 50px; color: var(--dark-text); margin-bottom: 16px;
}
.contact-info h2 span { color: var(--primary); }
.contact-info p { color: var(--body-text); line-height: 1.8; margin-bottom: 36px; }
.contact-details { list-style: none; }
.contact-details li {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 20px;
}
.contact-details .icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.contact-details .icon i { color: var(--primary); font-size: 18px; }
.contact-details .text h4 {
  font-family: var(--font-heading); font-size: 13px;
  color: var(--primary); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 4px;
}
.contact-details .text p { color: var(--body-text); font-size: 14px; margin: 0; }
.contact-form {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 12px; padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  font-family: var(--font-heading);
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--secondary);
  display: block; margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  padding: 14px 18px;
  color: var(--dark-text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color .3s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(136,111,82,.1);
}
.form-group textarea { height: 130px; resize: vertical; }
.btn-submit {
  width: 100%;
  font-family: var(--font-heading);
  font-size: 13px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--white); background: var(--primary);
  border: 2px solid var(--primary);
  padding: 16px; border-radius: 6px;
  cursor: pointer; transition: all .3s;
}
.btn-submit:hover { background: var(--secondary); border-color: var(--secondary); }

/* ---- PROGRAMS PAGE ---- */
.programs-intro { background: var(--white); }
.programs-intro p { color: var(--body-text); font-size: 16px; line-height: 1.9; max-width: 800px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .programs-grid { grid-template-columns: repeat(2,1fr); }
  .trainers-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-images { margin-bottom: 60px; }
  .about-img-sub { right: 0; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
  .testimonials-slider { grid-template-columns: 1fr; }
  .workout-layout { grid-template-columns: 1fr; }
  .workout-sidebar { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item.large { grid-column: span 1; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; top: 70px;
    background: var(--white);
    padding: 30px;
    overflow-y: auto;
    gap: 5px;
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
  }
  .nav-links.mobile-open > li > a { color: var(--dark-text); }
  .nav-links.mobile-open .dropdown-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none;
    background: var(--off-white);
    border-radius: 6px; padding: 5px;
    margin-top: 5px;
    border: 1px solid var(--light-gray);
  }
  .dropdown > a i { display: inline; }
  .hero-title { font-size: 60px; }
  .programs-grid { grid-template-columns: 1fr; }
  .trainers-grid { grid-template-columns: 1fr 1fr; }
  .stats-container { flex-wrap: wrap; gap: 30px; }
  section { padding: 70px 0; }
  .page-hero { height: 300px; }
  .page-hero-content { padding: 30px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .trainers-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
