:root {
  --bg: #121214;
  --bg-soft: #18181b;
  --card: #1c1c21;
  --text: #ffffff;
  --muted: #b6b6c2;
  --accent: #4f46e5;
  --accent-hover: #7c3aed;
  --border: #2b2b31;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img,
video {
  max-width: 100%;
  display: block;
}

main {
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 16, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-link:hover {
  opacity: 0.95;
}

.logo {
  height: 120px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
}

nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  padding: 10px 18px;
  border-radius: 999px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

nav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.35);
  color: var(--white);
}

nav a[aria-current="page"] {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* BUTTON */

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* HERO */

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(10, 10, 14, 0.72), rgba(10, 10, 14, 0.82)),
    url("Images/Gym_2.jpg");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
}

.hero-text h1 {
  font-size: 64px;
  margin-bottom: 20px;
  line-height: 1.05;
}

.hero-text p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 380px;
  max-height: 450px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.35s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 26px 50px rgba(79, 70, 229, 0.22);
}

/* PAGE HERO */

.page-hero {
  padding: 90px 0 40px;
}

.page-hero h1,
.page-hero h2 {
  font-size: 48px;
  margin-bottom: 12px;
  line-height: 1.15;
}

.page-hero p {
  color: var(--muted);
  max-width: 760px;
}

/* ABOUT */

.about {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: center;
}

.about h2 {
  margin-bottom: 20px;
  font-size: 32px;
}

.about-text {
  max-width: 700px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 175px;
  height: 175px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  transform: scale(1.15);
  transition: transform 0.3s ease;
  border: 3px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-image img:hover {
  transform: scale(1.25);
}

/* WHY TRAIN */

.why-train {
  padding: 100px 0;
  background: radial-gradient(
    circle at top,
    rgba(124, 58, 237, 0.14),
    transparent 60%
  );
}

.why-train h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 32px;
}

.why-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #cfcfcf;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2rem;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.5),
    rgba(59, 130, 246, 0.3)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.why-card:hover::before {
  opacity: 1;
}

.why-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.18);
}

.why-card h3 {
  position: relative;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.why-card p {
  position: relative;
  color: #d6d6d6;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.why-card:hover h3 {
  transform: translateX(4px);
  color: #ffffff;
}

.why-card:hover p {
  color: #ececec;
}

/* GALLERY + VIDEOS */

.gallery {
  padding: 100px 0;
}

.gallery h2 {
  margin-bottom: 40px;
  font-size: 32px;
}

.videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 2rem;
}

.video-card {
  overflow: hidden;
  border-radius: 12px;
}

.video-card figure {
  margin: 0;
}

.video-card video {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.video-card:hover video {
  transform: scale(1.05);
}

.video-card figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

/* CTA */

.cta {
  padding: 100px 0;
  text-align: center;
}

.cta h2 {
  margin-bottom: 30px;
  font-size: 34px;
}

/* CONTACT + BOOKING */

.contact-section,
.booking-section {
  padding-top: 50px;
}

.contact-grid,
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info,
.booking-info,
.contact-form-box,
.booking-form-box {
  background: var(--card);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  height: fit-content;
  box-shadow: var(--shadow);
}

.contact-info h2,
.contact-form-box h2,
.booking-info h2,
.booking-form-box h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

.contact-info p,
.booking-info p {
  margin-bottom: 12px;
  line-height: 1.8;
}

.contact-info a,
.booking-info a {
  color: #ffffff;
  border-bottom: 1px solid rgba(124, 58, 237, 0.6);
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-info a:hover,
.booking-info a:hover {
  color: #c4b5fd;
  border-bottom-color: #c4b5fd;
}

.contact-note {
  margin-top: 18px;
}

.booking-list {
  margin: 20px 0;
  padding-left: 20px;
}

.booking-list li {
  margin-bottom: 10px;
}

/* FORM */

label {
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #111;
  color: var(--white);
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* FOOTER */

footer {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  margin-top: 80px;
  color: var(--muted);
}

footer p {
  margin-bottom: 10px;
}

.instagram-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.instagram-icon img {
  width: 28px;
  margin-top: 10px;
  transition: transform 0.3s ease;
}

.instagram-icon img:hover {
  transform: scale(1.2);
}

/* REVEAL ANIMATIONS */

.fade-up,
.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.show,
.reveal-card.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .booking-grid,
  .why-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .about-grid {
    text-align: center;
  }

  .hero-text {
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .about-image {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .videos {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 16px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo {
    height: 95px;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .page-hero h1,
  .page-hero h2 {
    font-size: 36px;
  }

  .about h2,
  .why-train h2,
  .gallery h2,
  .cta h2,
  .contact-info h2,
  .contact-form-box h2,
  .booking-info h2,
  .booking-form-box h2 {
    font-size: 28px;
  }

  .cta h2 {
    font-size: 28px;
  }
}

