/* ===== Белоземье — Landing Page ===== */

:root {
  --green: #3d7a3d;
  --green-dark: #2a5a2a;
  --green-glow: #4a9a4a;
  --sand: #c9a04a;
  --coal: #0f0f0f;
  --dark: #0a0a0a;
  --dark-card: #1a1a1a;
  --white: #f5f5f5;
  --offwhite: #ddd8d0;
  --gray: #8a8a8a;
  --gray-dark: #555555;
  --radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--offwhite);
  background: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-glow);
  text-decoration: none;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background: var(--coal);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg video,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 40px 20px;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  animation: fade-up 1s ease-out;
}

.hero h1 span {
  color: var(--sand);
}

.hero p {
  font-size: clamp(.75rem, 1.6vw, 1.05rem);
  opacity: .9;
  margin-bottom: 32px;
  animation: fade-up 1s ease-out .3s both;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero p {
    white-space: normal;
  }
}

.hero .btn {
  animation: fade-up 1s ease-out .5s both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Animated gradient overlay */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(45,90,39,.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212,168,85,.15) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(45,90,39,.2) 0%, transparent 45%);
  animation: glow-shift 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glow-shift {
  0% { opacity: .6; }
  100% { opacity: 1; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.btn-primary {
  background: var(--sand);
  color: var(--coal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,168,85,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--dark-card);
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--white);
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ===== OFFER ITEMS ===== */
.offer-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.offer-item:last-child {
  margin-bottom: 0;
}

.offer-item.reverse .offer-media {
  order: 2;
}

.offer-item.reverse .offer-info {
  order: 1;
}

.offer-media {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.offer-media video,
.offer-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .4s;
  background: var(--dark-card);
}

.offer-media video {
  display: block;
}

.offer-media:hover img,
.offer-media:hover video {
  transform: scale(1.03);
}

.offer-info {
  padding: 20px 0;
}

.offer-number {
  font-size: .8rem;
  font-weight: 700;
  color: var(--sand);
  letter-spacing: .1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.offer-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--white);
}

.offer-info p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid img,
.about-grid video {
  border-radius: var(--radius);
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  background: var(--dark-card);
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--white);
}

.about-text p {
  color: var(--gray);
  margin-bottom: 12px;
}

/* ===== SCHEDULE ===== */
.schedule {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.schedule-day {
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.schedule-item .time {
  font-weight: 600;
  color: var(--offwhite);
  min-width: 48px;
  font-size: .9rem;
}

.schedule-day h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sand);
}

.schedule-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.schedule-item .time {
  font-weight: 600;
  color: var(--coal);
  min-width: 48px;
  font-size: .9rem;
}

.schedule-item .desc {
  color: var(--gray);
  font-size: .9rem;
}



/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
  background: #1a1a1a;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.02);
}

.gallery-item::after {
  content: '🔊 наведите для звука';
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 11px;
  color: #fff;
  background: rgba(0,0,0,.5);
  padding: 3px 8px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ===== FORM ===== */
.form-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--offwhite);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-dark);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s;
  background: var(--dark);
  color: var(--offwhite);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: .9rem;
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--green);
}

.form-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s;
}

.form-submit:hover {
  background: var(--green-dark);
}

.form-hint {
  text-align: center;
  margin-top: 12px;
  font-size: .85rem;
  color: var(--gray-dark);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-dark);
}

.faq-toggle {
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--offwhite);
}

.faq-toggle::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--green);
  transition: transform .2s;
}

.faq-item.open .faq-toggle::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
  color: var(--gray);
  font-size: .95rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 18px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-card);
  color: var(--gray);
  text-align: center;
  padding: 32px 20px;
  font-size: .9rem;
}

.footer a {
  color: var(--sand);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .schedule {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offer-item {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }

  .offer-item.reverse .offer-media {
    order: 1;
  }

  .offer-item.reverse .offer-info {
    order: 2;
  }

  .offer-media img,
  .offer-media video {
    height: 240px;
  }

  .section {
    padding: 48px 0;
  }

  .form-card {
    padding: 28px 20px;
  }
}
