/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  scroll-behavior: smooth;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Root Variables */
:root {
  --color-primary: #d41414;
  --color-secondary: #1a1a1a;
  --color-accent: #ff3333;
  --color-dark: #000000;
  --color-light: #ffffff;
  --color-gray: #333333;
  --color-gray-light: #f5f5f5;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-gray);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

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

.section {
  padding: 80px 0;
  scroll-margin-top: 50px;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--color-primary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 30%, #2a2a2a 60%, #3a3a3a 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(212, 20, 20, 0.08) 10px,
      rgba(212, 20, 20, 0.08) 20px
    );
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 35%, rgba(0,0,0,0.7) 100%);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 5px 0;
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .logo-container {
  width: 45px;
  height: 45px;
}

.navbar.scrolled .nav-links {
  gap: 30px;
}

.navbar.scrolled .nav-links a {
  font-size: 0.95rem;
  padding: 6px 12px;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  width: 80px;
  height: 80px;
  position: relative;
  transition: all 0.5s ease;
}

.logo-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(212, 20, 20, 0.6) 0%, rgba(212, 20, 20, 0.4) 40%, transparent 70%);
  filter: blur(15px);
  z-index: -1;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(255, 50, 50, 1))
          drop-shadow(0 0 30px rgba(212, 20, 20, 1))
          drop-shadow(0 0 45px rgba(212, 20, 20, 0.8));
  animation: logoFlicker 0.15s infinite;
  position: relative;
  z-index: 1;
}

@keyframes logoFlicker {
  0% {
    filter: drop-shadow(0 0 12px rgba(255, 50, 50, 0.8))
            drop-shadow(0 0 24px rgba(212, 20, 20, 0.8))
            drop-shadow(0 0 36px rgba(212, 20, 20, 0.6));
  }
  10% {
    filter: drop-shadow(0 0 20px rgba(255, 80, 50, 1))
            drop-shadow(0 0 40px rgba(255, 40, 40, 0.95))
            drop-shadow(0 0 60px rgba(255, 20, 20, 0.9));
  }
  20% {
    filter: drop-shadow(0 0 10px rgba(255, 50, 50, 0.7))
            drop-shadow(0 0 20px rgba(212, 20, 20, 0.7))
            drop-shadow(0 0 30px rgba(212, 20, 20, 0.5));
  }
  30% {
    filter: drop-shadow(0 0 25px rgba(255, 100, 100, 1))
            drop-shadow(0 0 50px rgba(255, 50, 50, 1))
            drop-shadow(0 0 75px rgba(255, 30, 30, 1));
  }
  40% {
    filter: drop-shadow(0 0 15px rgba(255, 60, 50, 0.85))
            drop-shadow(0 0 30px rgba(230, 30, 30, 0.85))
            drop-shadow(0 0 45px rgba(200, 20, 20, 0.7));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(255, 70, 50, 0.9))
            drop-shadow(0 0 36px rgba(240, 35, 35, 0.9))
            drop-shadow(0 0 54px rgba(220, 25, 25, 0.8));
  }
  60% {
    filter: drop-shadow(0 0 22px rgba(255, 90, 70, 0.95))
            drop-shadow(0 0 44px rgba(250, 45, 40, 0.95))
            drop-shadow(0 0 66px rgba(240, 30, 30, 0.85));
  }
  70% {
    filter: drop-shadow(0 0 8px rgba(255, 40, 40, 0.65))
            drop-shadow(0 0 16px rgba(200, 15, 15, 0.65))
            drop-shadow(0 0 24px rgba(180, 10, 10, 0.5));
  }
  80% {
    filter: drop-shadow(0 0 28px rgba(255, 110, 90, 1))
            drop-shadow(0 0 56px rgba(255, 60, 50, 1))
            drop-shadow(0 0 84px rgba(255, 40, 40, 0.95));
  }
  90% {
    filter: drop-shadow(0 0 14px rgba(255, 55, 45, 0.8))
            drop-shadow(0 0 28px rgba(220, 25, 25, 0.8))
            drop-shadow(0 0 42px rgba(200, 20, 20, 0.65));
  }
  100% {
    filter: drop-shadow(0 0 16px rgba(255, 65, 55, 0.85))
            drop-shadow(0 0 32px rgba(235, 30, 30, 0.85))
            drop-shadow(0 0 48px rgba(210, 22, 22, 0.7));
  }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--color-light);
  border-radius: 3px;
  transition: var(--transition);
  position: absolute;
  left: 10px;
}

.menu-toggle span:nth-child(1) {
  top: 14px;
}

.menu-toggle span:nth-child(2) {
  top: 23px;
}

.menu-toggle span:nth-child(3) {
  top: 32px;
}

.menu-toggle.active span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  transition: gap 0.5s ease;
}

.nav-links a {
  color: var(--color-light);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  position: relative;
  transition: font-size 0.5s ease, padding 0.5s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--color-primary);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vh;
  height: 90vh;
  background-image: url('../img/logo-removebg-preview.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
}

.hero-title {
  font-size: 5rem;
  color: var(--color-light);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 2rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 40px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease 0.2s backwards;
}

.cta-button {
  display: inline-block;
  padding: 18px 48px;
  background: var(--color-primary);
  color: var(--color-light);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(212, 20, 20, 0.4);
  transition: var(--transition);
  animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(212, 20, 20, 0.6);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
.about-section {
  background: var(--color-light);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--color-gray);
}

.external-link {
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.external-link:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.external-icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 2px;
}

.internal-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.internal-link:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Stats Section */
.stats-section {
  background: var(--color-secondary);
  color: var(--color-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 2px solid rgba(212, 20, 20, 0.3);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-heading);
}

/* Team Section */
.team-section {
  background: var(--color-gray-light);
}

.team-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.team-intro {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--color-gray);
  margin-bottom: 60px;
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.team-card {
  background: var(--color-light);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  border: 2px solid transparent;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--color-primary);
}

.team-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-primary);
  box-shadow: 0 5px 20px rgba(212, 20, 20, 0.3);
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
}

.team-photo-placeholder svg {
  width: 70%;
  height: 70%;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  text-align: center;
}

.team-name {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 10px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-title {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1.5;
}

.team-group-photo {
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.team-group-photo img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Training Section */
.training-section {
  background: var(--color-light);
}

.training-info {
  max-width: 800px;
  margin: 0 auto;
}

.training-card {
  background: var(--color-secondary);
  color: var(--color-light);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.training-card h3 {
  font-size: 2rem;
  color: var(--color-light);
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.training-schedule {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
}

.schedule-item .day {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
}

.schedule-item .time {
  font-size: 1.3rem;
  color: var(--color-primary);
  font-weight: 500;
}

.training-notice {
  margin-top: 30px;
  padding: 25px;
  background: rgba(212, 20, 20, 0.1);
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
}

.training-notice p {
  margin: 0;
  line-height: 1.7;
}

.training-notice a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.training-gallery {
  margin-top: 50px;
}

.training-gallery-title {
  font-size: 1.8rem;
  color: var(--color-secondary);
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-heading);
}

.gallery-main {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-secondary);
}

.gallery-main img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.gallery-thumbnails-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.gallery-scroll-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  user-select: none;
}

.gallery-scroll-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.gallery-scroll-arrow.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-scroll-arrow svg {
  width: 20px;
  height: 20px;
  fill: var(--color-primary);
}

.gallery-thumbnails-container {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-thumbnails-container::before,
.gallery-thumbnails-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-thumbnails-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent);
}

.gallery-thumbnails-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.3), transparent);
}

.gallery-thumbnails-container.has-scroll-left::before {
  opacity: 1;
}

.gallery-thumbnails-container.has-scroll-right::after {
  opacity: 1;
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
  scroll-behavior: smooth;
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 8px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 196, 0, 0.8);
}

.gallery-thumbnail {
  flex-shrink: 0;
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
  border: 3px solid transparent;
}

.gallery-thumbnail:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.gallery-thumbnail.active {
  opacity: 1;
  border-color: var(--color-primary);
}

@media (max-width: 768px) {
  .gallery-thumbnail {
    width: 100px;
    height: 70px;
  }

  .gallery-scroll-arrow {
    display: none;
  }
}

/* Social Media Section */
.social-section {
  background: var(--color-secondary);
  color: var(--color-light);
}

.social-section .section-title {
  color: var(--color-light);
}

.social-section .section-title::after {
  background: var(--color-primary);
}

.social-intro {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: var(--color-light);
  opacity: 0.9;
}

.social-links-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.social-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  color: var(--color-light);
}

.social-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 60px rgba(212, 20, 20, 0.3);
}

.social-card.youtube:hover {
  background: rgba(255, 0, 0, 0.1);
}

.social-card.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background-clip: padding-box;
  opacity: 0.95;
}

.social-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.social-card:hover .social-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.social-card.youtube .social-icon svg {
  color: #FF0000;
}

.social-card.instagram .social-icon svg {
  color: #E1306C;
}

.social-info h3 {
  font-size: 2rem;
  color: var(--color-light);
  margin-bottom: 15px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-info p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.8;
}

.social-link-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.social-card:hover .social-link-text {
  color: var(--color-light);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--color-gray-light) 0%, var(--color-light) 100%);
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  background: var(--color-light);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border: 2px solid var(--color-primary);
}

.contact-lead {
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-secondary);
  font-weight: 500;
}

.contact-details {
  margin-bottom: 40px;
}

.contact-item {
  font-size: 1.1rem;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

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

.contact-item strong {
  color: var(--color-secondary);
  margin-right: 10px;
}

.contact-item a {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.contact-note {
  background: rgba(212, 20, 20, 0.1);
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
}

.contact-note p {
  color: var(--color-secondary);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--color-secondary);
  color: var(--color-light);
  padding: 30px 0;
  padding-bottom: 300px;
  text-align: center;
}

.footer p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-content::before {
    width: 70vh;
    height: 70vh;
  }

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

  /* Mobile Menu */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 15px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .navbar .container {
    position: relative;
  }

  /* Add padding to hero content to account for fixed navbar */
  .hero {
    padding-top: 80px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.3s ease;
    z-index: 999;
    padding: 20px;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    font-size: 1.3rem;
    display: block;
    padding: 15px;
  }

  .logo-container {
    width: 60px;
    height: 60px;
  }

  .logo-container::before {
    opacity: 1;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(212, 20, 20, 0.6) 0%, rgba(212, 20, 20, 0.4) 40%, transparent 70%);
    filter: blur(15px);
  }

  .logo {
    filter: drop-shadow(0 0 15px rgba(255, 50, 50, 1))
            drop-shadow(0 0 30px rgba(212, 20, 20, 1))
            drop-shadow(0 0 45px rgba(212, 20, 20, 0.8));
    animation: logoFlicker 0.15s infinite;
  }

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

  .stat-number {
    font-size: 2.5rem;
  }

  .training-card {
    padding: 30px;
  }

  .schedule-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .contact-info {
    padding: 30px 20px;
  }

  .cta-button {
    padding: 15px 35px;
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-content::before {
    width: 70vh;
    height: 70vh;
    opacity: 0.12;
  }

  .section {
    padding: 50px 0;
  }

  .nav-links {
    width: 100%;
    max-width: 320px;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

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

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

  .about-text p {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

