/* =========================================================
   GLOBAL RESET & BASE STYLES
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #999;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

nav div.container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn-primary {
  background: #d00000;
  color: white;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  display: inline-block;
  transition: 0.2s ease;
}

.btn-primary:hover {
  background: #a00000;
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
}

.btn-primary.full {
  width: 100%;
  text-align: center;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  z-index: 1000;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #d00000;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #444;
  font-weight: 600;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: #d00000;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 80px;
    right: 0;
    background: white;
    width: 100%;
    flex-direction: column;
    padding: 1.5rem 0;
    display: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

a.btn-primary {
  color: white;
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  background: linear-gradient(to bottom right, #111, #7a0a0a, #111);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://img1.wsimg.com/isteam/ip/52ecaf14-effe-4b06-9ff8-40bac9ff619b/IMG_9342.jpeg?auto=compress&cs=tinysrgb&w=1920')
    center/cover no-repeat;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero h1 span {
  color: #ff4444;
  display: block;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin: 1.5rem auto 2.5rem;
  max-width: 700px;
  color: #ddd;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.feature-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 1.5rem;
  border-radius: 15px;
  backdrop-filter: blur(6px);
}

.red-circle {
  background: #d00000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */

.about {
  padding: 5rem 0;
  background: black;
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-header p {
  max-width: 800px;
  margin: 0.75rem auto;
  color: #999;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
  }
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: #888;
}

.about-features {
  margin-top: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-icon.small {
  background: #ffe5e5;
  padding: 0.6rem;
  border-radius: 10px;
  font-size: 1.2rem;
}

.about-stats {
  background: linear-gradient(135deg, #d00000, #a00000);
  padding: 2.5rem;
  border-radius: 20px;
  color: white;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: center;
  gap: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
}

/* =========================================================
   CLASSES SECTION
   ========================================================= */

.classes {
  padding: 5rem 0;
  background: #111111;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
}

.section-header p {
  max-width: 700px;
  margin: 1rem auto;
  color: #888;
}

.class-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .class-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.class-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.class-card-image {
  height: 200px;
  background: var(--bg) center/cover no-repeat;
  position: relative;
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
}

.class-card-tags {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}

.tag {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.tag-green { background: #d4f8d4; color: #0a7a0a; }
.tag-red { background: #ffd4d4; color: #a00000; }
.tag-blue { background: #d4e4ff; color: #0044aa; }
.tag-glass {
  background: rgba(255,255,255,0.3);
  color: white;
  backdrop-filter: blur(4px);
}

.class-card-body {
  padding: 1.5rem;
}

.class-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}

.feature span {
  color: #555;
}

/* =========================================================
   INSTRUCTORS SECTION
   ========================================================= */

.instructors {
  padding: 5rem 0;
  background: black;
}

.instructor-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .instructor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.instructor-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.instructor-image {
  height: 260px;
  background: var(--bg) center/cover no-repeat;
  position: relative;
}

.instructor-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
}

.instructor-body {
  padding: 1.5rem;
}

.rank {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.rank-icon {
  color: #d00000;
  font-size: 1.2rem;
  font-weight: bold;
}

.instructor-cta {
  margin-top: 3rem;
  text-align: center;
}

.instructor-cta p {
  max-width: 600px;
  margin: 1rem auto;
  color: #888;
}

/* =========================================================
   SCHEDULE SECTION
   ========================================================= */

.schedule {
  padding: 5rem 0;
  background: #111111;
}

.schedule-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .schedule-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.schedule-card {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 15px;
  padding: 1.0rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.schedule-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.icon-box {
  background: #d00000;
  padding: 0.6rem;
  border-radius: 10px;
  color: white;
  font-size: 1.2rem;
}

.schedule-item {
  background: white;
  border: 1px solid #eee;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: 0.2s;
}

.schedule-item:hover {
  border-color: #d00000;
}

.time-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.icon-small {
  color: #d00000;
}

.tags .tag {
  background: #ffe5e5;
  color: #a00000;
  margin-right: 0.3rem;
}

.schedule-notice {
  margin-top: 2rem;
  background: #fff5f5;
  border: 1px solid #ffdede;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
}

.schedule-notice .highlight {
  color: #d00000;
  font-weight: bold;
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */

.contact {
  padding: 5rem 0;
  background: black;
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form h3,
.contact-details h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #d00000;
  box-shadow: 0 0 0 2px rgba(208,0,0,0.2);
}

.detail-block {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail-icon {
  background: #ffe5e5;
  padding: 0.8rem;
  border-radius: 10px;
  font-size: 1.3rem;
  color: #d00000;
}

.hours-box {
  background: #fff0f0;
  border: 1px solid #ffdede;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.free-class-box {
  background: #111;
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1.5rem;
}

.free-class-box p {
  color: #ccc;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background: #111;
  color: #ccc;
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff3b3b;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: #bbb;
  transition: 0.2s;
}

.footer-links a:hover {
  color: #ff3b3b;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-icon {
  background: #bbb;
  padding: 0.7rem;
  border-radius: 10px;
  font-size: 1.2rem;
  transition: 0.2s;
}

.social-icon:hover {
  background: #d00000;
  color: white;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #222;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

.social-icon img {
  width: 24px;
  height: 24px;
}