/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Exo 2', sans-serif;
  font-weight: 400;
  color: #72665e;
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(22, 21, 21, 0.9);
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: #161515;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
}

.nav-logo img {
  height: 45px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #cc984f;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/hero.jpg') center center / cover no-repeat;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 21, 21, 0.65);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.hero-subhead {
  font-size: 1.8rem;
  font-weight: 600;
  color: #cc984f;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
}

/* ===== Hero Actions ===== */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 50px;
}

.hero-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 40px;
  background: rgba(22, 21, 21, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.3s ease;
}

.hero-action:hover {
  background: rgba(175, 79, 47, 0.6);
}

.hero-action-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.hero-action-label {
  font-size: 0.85rem;
  font-weight: 400;
  color: #cc984f;
  letter-spacing: 1px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 15px 40px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary {
  background: #af4f2f;
  color: #ffffff;
}

.btn-primary:hover {
  background: #964328;
  transform: translateY(-2px);
}

/* ===== Section Titles ===== */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #161515;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: #cc984f;
  text-align: center;
  margin-bottom: 40px;
}

/* ===== Philosophy Section ===== */
.philosophy {
  position: relative;
  padding: 120px 20px;
  background: url('../images/philosophy.jpg') center center / cover no-repeat fixed;
  text-align: center;
}

.philosophy-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 21, 21, 0.8);
}

.philosophy-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.philosophy-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #cc984f;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.philosophy-heading {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.philosophy-divider {
  width: 60px;
  height: 3px;
  background: #af4f2f;
  margin: 0 auto 30px;
}

.philosophy-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #c0b8b2;
}

/* ===== Classes Section ===== */
.classes {
  padding: 100px 0;
  background: #f5f3f0;
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.class-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.class-image {
  height: 220px;
  overflow: hidden;
}

.class-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.class-card:hover .class-image img {
  transform: scale(1.05);
}

.class-info {
  padding: 25px;
}

.class-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #161515;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  border-bottom: 2px solid #af4f2f;
  padding-bottom: 10px;
}

.class-info p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact {
  padding: 80px 0;
  background: #161515;
  color: #ffffff;
}

.contact .section-title {
  color: #ffffff;
}

.contact-list {
  max-width: 600px;
  margin: 30px auto 0;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #c0b8b2;
  transition: color 0.3s ease;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row:hover {
  color: #cc984f;
}

.contact-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #cc984f;
}

.contact-row span {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== CTA Banner ===== */
.cta-banner {
  position: relative;
  padding: 120px 0;
  background: url('../images/knockout.jpg') center center / cover no-repeat;
  text-align: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 21, 21, 0.75);
}

.cta-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.2rem;
  color: #cc984f;
  font-weight: 400;
  margin-bottom: 35px;
  letter-spacing: 1px;
}

/* ===== Footer ===== */
.footer {
  background: #0e0d0d;
  padding: 50px 0 30px;
  text-align: center;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin: 0 auto 15px;
}

.footer-tagline {
  font-size: 1rem;
  color: #cc984f;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #72665e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.footer-rif {
  color: #cc984f;
  font-weight: 600;
}

.footer-separator {
  color: #4a4240;
}

.footer-credits {
  font-size: 0.8rem;
  color: #72665e;
}

.footer-credits a {
  color: #cc984f;
  transition: color 0.3s ease;
}

.footer-credits a:hover {
  color: #af4f2f;
}

/* ===== Responsive: Tablet (768px) ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #161515;
    padding: 20px 0;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    display: block;
    padding: 15px 20px;
    font-size: 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }

  .hero-subhead {
    font-size: 1.3rem;
    margin-bottom: 30px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 30px;
  }

  .hero-action {
    width: 100%;
    max-width: 300px;
    padding: 18px 30px;
  }

  .philosophy {
    padding: 80px 20px;
  }

  .philosophy-heading {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .classes {
    padding: 70px 0;
  }

  .classes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cta-banner {
    padding: 80px 0;
  }

  .cta-content h2 {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .contact {
    padding: 60px 0;
  }
}

/* ===== Responsive: Mobile (480px) ===== */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-subhead {
    font-size: 1.1rem;
  }

  .btn {
    padding: 12px 30px;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .classes-grid {
    grid-template-columns: 1fr;
  }

}
