﻿:root {
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  --clr-bg-dark: #0a0a0c;
  --clr-bg-lighter: #16161a;
  --clr-bg-card: #1f1f23;
  --clr-text: #f5f5f5;
  --clr-text-muted: #a1a1aa;

  --clr-primary: #e62020;
  /* Sleek, vivid red */
  --clr-primary-hover: #ff3333;
  --clr-white: #ffffff;

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 8rem;
  --z-fixed: 100;
  --z-modal: 1000;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-primary);
  background-color: var(--clr-bg-dark);
  color: var(--clr-text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: var(--font-primary);
  cursor: pointer;
  border: none;
  background: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* =============== UTILITIES =============== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-primary {
  color: var(--clr-primary);
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background-color: var(--clr-primary);
  color: var(--clr-white);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
  border: 2px solid var(--clr-primary);
}

.btn:hover {
  background-color: var(--clr-primary-hover);
  border-color: var(--clr-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(230, 32, 32, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--clr-text);
  border: 2px solid var(--clr-text);
}

.btn-outline:hover {
  background-color: var(--clr-text);
  color: var(--clr-bg-dark);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* =============== HEADER & NAV =============== */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: transparent;
  z-index: var(--z-fixed);
  transition: var(--transition-smooth);
}

.scroll-header {
  background-color: rgba(10, 10, 12, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-close {
  display: none;
}

.nav-list {
  display: flex;
  column-gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--clr-primary);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--clr-primary);
}

/* Mobile Nav */
@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 12, 0.98);
    backdrop-filter: blur(10px);
    padding: 4rem 0 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .show-menu {
    top: 0;
  }

  .nav-list {
    flex-direction: column;
    row-gap: 2rem;
    align-items: center;
  }

  .nav-toggle,
  .nav-close {
    display: block;
  }

  .nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
  }
}

/* =============== HERO SECTION =============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.7) 40%, rgba(10, 10, 12, 0.2) 100%),
    radial-gradient(circle at center, transparent 0%, rgba(10, 10, 12, 0.8) 100%);
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
}

.hero-subtitle {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .hero-overlay {
    background: linear-gradient(to bottom, rgba(10, 10, 12, 0.8) 0%, rgba(10, 10, 12, 0.9) 100%);
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* =============== SECTIONS BASE =============== */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  margin-bottom: 3rem;
}

.section-description {
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.bg-lighter {
  background-color: var(--clr-bg-lighter);
}

/* =============== CONCEPT SECTION =============== */
.concept-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.concept-img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

@media screen and (max-width: 768px) {
  .concept-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* =============== INSTRUCTORS SECTION =============== */
.instructors-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.instructor-card {
  background-color: var(--clr-bg-card);
  padding: 2.5rem;
  border-radius: 8px;
  border-top: 4px solid var(--clr-primary);
  transition: var(--transition-short);
}

.instructor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.instructor-name {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.instructor-rank {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.instructor-details {
  list-style: none;
}

.instructor-details li {
  margin-bottom: 1rem;
  color: var(--clr-text-muted);
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.instructor-details li::before {
  content: "â–¹";
  position: absolute;
  left: 0;
  color: var(--clr-primary);
  font-weight: bold;
}

/* =============== CTA SECTION =============== */
.cta {
  background: linear-gradient(rgba(10, 10, 12, 0.8), rgba(10, 10, 12, 0.8)), url('../images/hero-bg.png') no-repeat center center/cover;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.2rem;
  color: var(--clr-text);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* =============== FOOTER =============== */
.footer {
  background-color: #050505;
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: block;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--clr-text-muted);
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-link {
  color: var(--clr-text-muted);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--clr-primary);
}

.footer-copy {
  text-align: center;
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =============== CLASSES SECTION =============== */
.classes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.class-card {
  background-color: var(--clr-bg-card);
  padding: 2.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--clr-primary);
  text-align: left;
  transition: var(--transition-fast);
}

.class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.class-time {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.class-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.class-desc {
  color: var(--clr-text-muted);
}

.cta-banner {
  background: linear-gradient(rgba(10, 10, 12, 0.8), rgba(10, 10, 12, 0.8)), url('../images/hero-bg.png') no-repeat center center/cover;
  padding: 4rem 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-banner .cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner .cta-description {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--clr-text-muted);
}

/* =============== CONTACT SECTION =============== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-details {
  margin-top: 2rem;
}

.contact-details li {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  background-color: rgba(230, 32, 32, 0.1);
  padding: 0.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-details strong {
  color: var(--clr-text);
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.contact-details div {
  color: var(--clr-text-muted);
}

.contact-map {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@media screen and (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* LOGO IMAGES */
.site-logo {
  max-height: 100px;
  width: auto;
  border-radius: 4px;
}

.footer-logo .site-logo {
  max-height: 100px;
}
