/* ============================
   A&S HEALTH CLUB - GLOBAL STYLES
   ============================ */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,400&display=swap");

:root {
  --red: #c8102e;
  --red-dark: #960d22;
  --red-glow: rgba(200, 16, 46, 0.35);

  /* BRIGHTENED SYSTEM BACKGROUND COLORS */
  --black: #01060e; /* Lightened up from complete pitch black (#0A0A0A) */
  --black-2: #252a34; /* Lightened secondary panels */
  --black-3: #2d323e; /* Vibrant dark-grey layout cards */
  --black-4: #373d4b;

  --gray-1: #4a5162;
  --gray-2: #70798c;
  --gray-3: #a0aabf;
  --gray-light: #e2e6ef;
  --white: #ffffff;
  --cream: #f5f0eb;
  --gold: #c9a84c;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Montserrat", sans-serif;
  --font-accent: "Playfair Display", serif;
  --nav-h: 90px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--black-2);
}
::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 3px;
}

/* ============================
   NAVBAR & HEADER FIXES
   ============================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  transition: var(--transition);
  background: rgba(30, 34, 41, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
#navbar.scrolled {
  background: rgba(30, 34, 41, 0.98);
  border-bottom: 1px solid rgba(200, 16, 46, 0.4);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 1px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.nav-logo-brand {
  display: flex;
  flex-direction: column;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 2px;
  line-height: 1.1;
}
.nav-logo-text span {
  color: var(--red);
}
.nav-logo-sub {
  font-size: 0.55rem;
  letter-spacing: 3px;
  color: var(--gray-3);
  text-transform: uppercase;
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 20px;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

/* Screen collision control helper rules for medium/laptop viewports */
@media (max-width: 1200px) {
  .nav-logo-sub {
    display: none;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 18px;
  font-size: 0.7rem !important;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  background: var(--red-dark) !important;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ============================
   HERO & IMAGE CORRECTIONS
   ============================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5% 60px;
  overflow: hidden;
}

/* ---- HERO BACKGROUND VIDEO ---- */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background-color: var(--black);
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.05);
  animation: heroVideoBreathe 18s ease-in-out infinite alternate;
}

@keyframes heroVideoBreathe {
  0% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1.08);
  }
}

/* darken left (text-readable), clear up toward the right (video visible) */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      to right,
      rgba(1, 6, 14, 0.97) 0%,
      rgba(1, 6, 14, 0.88) 20%,
      rgba(1, 6, 14, 0.55) 45%,
      rgba(1, 6, 14, 0.2) 65%,
      rgba(1, 6, 14, 0.04) 85%,
      rgba(1, 6, 14, 0) 100%
    ),
    /* cinematic top/bottom vignette so the video doesn't feel like a flat banner */
    linear-gradient(to top, rgba(1, 6, 14, 0.75) 0%, rgba(1, 6, 14, 0) 30%),
    linear-gradient(to bottom, rgba(1, 6, 14, 0.35) 0%, rgba(1, 6, 14, 0) 18%),
    radial-gradient(
      circle at 78% 30%,
      rgba(200, 16, 46, 0.14),
      transparent 55%
    );
}

.hero-overlay-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(30, 34, 41, 0.9) 0%,
    rgba(30, 34, 41, 0.55) 30%,
    rgba(30, 34, 41, 0.15) 55%,
    rgba(30, 34, 41, 0) 75%
  );
  z-index: 3;
}
.hero-overlay-red {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(200, 16, 46, 0.08);
  z-index: 3;
}
.hero-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, var(--black), transparent);
  z-index: 3;
}
.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  opacity: 0.04;
  /* background:
    linear-gradient(45deg, var(--white) 25%, transparent 25%),
    linear-gradient(-45deg, var(--white) 25%, transparent 25%); */
  background-size: 20px 20px;
  z-index: 3;
}
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 650px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.9;
  margin: 15px 0;
  letter-spacing: 2px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
}
.hero-eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--red);
}
.hero-slogan {
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 15px;
}
.hero-desc {
  color: var(--gray-light);
  font-size: 0.95rem;
  margin-bottom: 35px;
  max-width: 550px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
}
.hero-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-3);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 5%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gray-3);
}
.hero-scroll-line {
  width: 50px;
  height: 1px;
  background: var(--gray-3);
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--red-glow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--white);
  background: rgba(200, 16, 46, 0.1);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.btn-gold:hover {
  background: #b8952e;
  transform: translateY(-2px);
}

/* ============================
   SERVICES TICKER
   ============================ */
.services-ticker {
  background: var(--black-2);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  white-space: nowrap;
  gap: 50px;
  animation: ticker 25s linear infinite;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 2px;
  color: var(--gray-light);
}
.ticker-item .dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ============================
   ABOUT SECTION LAYOUTS
   ============================ */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  height: 500px;
}
.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  z-index: 10;
  background: var(--red);
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.about-badge .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
}
.about-badge .label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 85%;
  height: 85%;
  background-color: var(--black-3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 50%;
  background-color: var(--black-4);
  border: 2px solid var(--black);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-light);
}
.about-feature::before {
  content: "✓";
  color: var(--red);
  font-weight: 900;
}

/* ============================
   SERVICES CARD GRID
   ============================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.services-grid .large {
  grid-column: span 2;
}
@media (max-width: 768px) {
  .services-grid .large {
    grid-column: span 1;
  }
}

.service-card {
  position: relative;
  height: 320px;
  background: var(--black-3);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}
.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: var(--transition);
  background-color: var(--black-4); /* Fallback block */
}
.service-card:hover .service-card-bg {
  transform: scale(1.05);
}
.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(30, 34, 41, 0.95) 20%,
    rgba(30, 34, 41, 0.2) 100%
  );
  z-index: 2;
}
.service-card-content {
  position: relative;
  z-index: 3;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--gray-3);
  margin-bottom: 5px;
}
.service-card-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--red);
  text-transform: uppercase;
}

/* ============================
   MEMBERSHIPS PREVIEW
   ============================ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.plan-card {
  background: var(--black-2);
  padding: 50px 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  transition: var(--transition);
}
.plan-card:hover {
  border-color: var(--red);
  transform: translateY(-5px);
}
.plan-card.featured {
  background: var(--black-3);
  border: 2px solid var(--red);
}
.plan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--red);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.plan-desc {
  font-size: 0.85rem;
  color: var(--gray-3);
  min-height: 50px;
}
.plan-price {
  margin: 30px 0;
  display: flex;
  align-items: baseline;
}
.plan-currency {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  margin-right: 4px;
}
.plan-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
}
.plan-period {
  font-size: 0.85rem;
  color: var(--gray-3);
  margin-left: 6px;
}
.plan-features {
  margin-bottom: 40px;
}
.plan-features li {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: var(--gray-light);
}
.plan-features li.disabled {
  opacity: 0.35;
}
.plan-features .check {
  color: var(--red);
  font-weight: 700;
}

/* ============================
   GALLERY SPACES GRID
   ============================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 20px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item:nth-child(2) {
  grid-column: span 2;
}
.gallery-item-bg {
  transition: var(--transition);
}
.gallery-item:hover .gallery-item-bg {
  transform: scale(1.06);
}
.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(200, 16, 46, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 3;
}
.gallery-item-overlay span {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 2px;
  transform: translateY(10px);
  transition: var(--transition);
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.gallery-item:hover .gallery-item-overlay span {
  transform: translateY(0);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-item:nth-child(1) {
    grid-column: span 1;
  }
  .gallery-item:nth-child(2) {
    grid-column: span 1;
  }
}

/* ============================
   TESTIMONIALS CARD GRID
   ============================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--black-3);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}
.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 5rem;
  font-family: var(--font-accent);
  color: rgba(200, 16, 46, 0.15);
  line-height: 1;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.testimonial-avatar {
  width: 45px;
  height: 45px;
  background: var(--black-4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid var(--red);
  color: var(--white);
}
.testimonial-author-name {
  font-size: 0.9rem;
  font-weight: 700;
}
.testimonial-author-role {
  font-size: 0.7rem;
  color: var(--gray-3);
  margin-top: 2px;
}

/* ============================
   CTA BAND
   ============================ */
.cta-band {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  padding: 80px 5%;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.cta-band p {
  max-width: 600px;
  margin: 0 auto 35px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================
   SECTION COMMONS
   ============================ */
.section-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
}
.section-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--red);
  transform: translateY(-50%);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 20px;
}
.section-title span {
  color: var(--red);
}
.section-sub {
  font-size: 0.9rem;
  color: var(--gray-3);
  max-width: 520px;
  line-height: 1.8;
}
.section-header {
  margin-bottom: 60px;
}
.section-header.centered {
  text-align: center;
}
.section-header.centered .section-tag {
  padding-left: 0;
}
.section-header.centered .section-tag::before {
  display: none;
}
.section-header.centered .section-sub {
  margin: 0 auto;
}

section {
  padding: 100px 5%;
}
.red-line {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 20px 0;
}
.red-line.centered {
  margin: 20px auto;
}

/* ============================
   FOOTER
   ============================ */
footer {
  background: var(--black-2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 70px 5% 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--gray-3);
  line-height: 1.8;
  margin: 16px 0 24px;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 24px;
  color: var(--white);
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--gray-3);
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}
.footer-contact-item {
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--gray-3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.75rem;
  color: var(--gray-2);
}
.footer-bottom span {
  color: var(--white);
}

.line-2 {
  color: var(--red);
}
