:root {
  --black: #0f0f0f;
  --white: #ffffff;
  --gold: #c9a24d;
  --gold-dark: #a8842c;
  --gold-light: #e6c97a;
}

/* ОБЩИЕ СТИЛИ */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--black);
  color: var(--white);
}

section {
  padding: 40px 20px;
  background: var(--black);
  border: 1px solid var(--gold-dark);
  border-radius: 15px;
  margin: 20px;
}

h1, h2 { margin-top: 0; color: var(--gold); }

/* =========================
   ШАПКА
========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(15,15,15,0.9);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { color: var(--gold); font-size: 22px; font-weight: bold; }
.nav a { color: var(--white); margin-left: 25px; text-decoration: none; }
.nav a:hover { color: var(--gold-light); }

/* БУРГЕР */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { width: 25px; height: 3px; background: var(--white); }

/* =========================
   ГЛАВНЫЙ ЭКРАН
========================= */
.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(15,15,15,0.6), rgba(15,15,15,0.6)),
    url("../images/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content { max-width: 700px; padding: 20px; }
.hero h1 { font-size: 56px; margin-bottom: 20px; }
.hero p { font-size: 22px; margin-bottom: 30px; }
.hero-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
  font-size: 18px;
  border-radius: 30px;
  transition: 0.3s;
}
.hero-button:hover { background: var(--gold-dark); }

/* =========================
   О ШКОЛЕ
========================= */
#about { text-align: center; }
.about-content p { font-size: 16px; color: var(--white); line-height: 1.6; max-width: 800px; margin: 0 auto 20px auto; }

/* =========================
   ФОТОГАЛЕРЕЯ
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}
.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--gold);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(201,162,77,0.4);
}

/* =========================
   РАСПИСАНИЕ
========================= */
.schedule-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.schedule-card {
  background: #141414;
  border: 1px solid var(--gold);
  border-radius: 15px;
  padding: 20px;
  width: 220px;
  text-align: center;
}
.schedule-card h3 { color: var(--gold); }

/* =========================
   КОНТАКТЫ
========================= */
#contacts a { color: var(--gold); text-decoration: none; }
#contacts a:hover { color: var(--gold-light); }

/* =========================
   АДАПТИВНОСТЬ
========================= */
@media (max-width: 768px) {

  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .hero-button { width: 100%; }

  .nav { display: none; position: absolute; top: 60px; right: 20px; background: var(--black); padding: 20px; border-radius: 10px; }
  .nav a { display: block; margin: 10px 0; }
  .nav.active { display: block; }
  .burger { display: flex; }
}

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