@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@300;400;700&display=swap');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #000;
  --text: #fff;
  --accent: #c0392b;
  --glass: rgba(0, 0, 0, 0.23);
  --glass-border: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.15);
  --max-w: 1400px;
  --font: 'Commissioner', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ═══════ NAV ═══════ */

.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-w), calc(100% - 40px));
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass);
  backdrop-filter: blur(66px);
  -webkit-backdrop-filter: blur(66px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  z-index: 100;
}

.nav__logo {
  height: 52px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 10px;
  list-style: none;
}

.nav__link {
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 300;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background 0.3s;
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ═══════ HERO ═══════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 140px;
}

.hero__booth {
  max-width: 420px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 80px rgba(192, 57, 43, 0.15));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* ═══════ SECTIONS ═══════ */

.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 20px;
}

.section__title {
  font-size: 35px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

/* ═══════ ABOUT ═══════ */

.about__text {
  font-size: 22px;
  font-weight: 300;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 0.9;
}

/* ═══════ GALLERY ═══════ */

.gallery {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.gallery__img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ═══════ STEPS ═══════ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step__card {
  width: 100%;
  height: auto;
  border-radius: 16px;
  transition: transform 0.3s;
}

.step__card:hover {
  transform: translateY(-4px);
}

.step__card--active {
  cursor: pointer;
  border: 1px solid var(--accent);
  border-radius: 16px;
}

.step__card--active:hover {
  border-color: #fff;
}

.steps__cta {
  text-align: center;
  margin-top: 40px;
}

.pay-link {
  display: inline-block;
  padding: 16px 56px;
  background: var(--accent);
  color: var(--text);
  text-decoration: none;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  transition: background 0.3s, transform 0.2s;
}

.pay-link:hover {
  background: #a93226;
  transform: scale(1.03);
}

/* ═══════ LOCATION ═══════ */

.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.location__map {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--card-border);
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location__address {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.6;
}

.location__place {
  font-size: 20px;
  font-weight: 400;
  opacity: 0.7;
}

/* ═══════ CONTACTS ═══════ */

.contacts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
}

.contacts__item {
  font-size: 20px;
  font-weight: 300;
  opacity: 0.9;
}

.contacts__item a {
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.3s;
}

.contacts__item a:hover {
  opacity: 0.7;
}

.contacts__instagram {
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.03em;
}

/* ═══════ DIVIDER ═══════ */

.divider {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 1px;
  background: var(--card-border);
}

/* ═══════ FOOTER ═══════ */

.footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 300;
  opacity: 0.5;
}


/* ═══════ RESPONSIVE ═══════ */

@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav {
    top: 10px;
    padding: 16px 20px;
  }

  .nav__links {
    display: none;
  }

  .hero {
    padding-top: 100px;
    min-height: 70vh;
  }

  .hero__booth {
    max-width: 260px;
  }

  .section {
    padding: 50px 16px;
  }

  .section__title {
    font-size: 28px;
  }

  .about__text {
    font-size: 18px;
  }

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

  .contacts {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
