/* ===== VARIABLES ===== */
:root {
  --bg: #0D0D0D;
  --bg-card: #1A1A1A;
  --bg-card-hover: #222222;
  --text: #E8E4E0;
  --text-muted: #9A9590;
  --accent: #C8A84E;
  --accent-hover: #D4B85A;
  --accent-dark: #8B6914;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --container: 1100px;
  --section-padding: 100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text-muted);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn__icon {
  flex-shrink: 0;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  transition: color 0.3s;
  letter-spacing: 0.02em;
}

.nav__link:hover {
  color: var(--accent);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 110;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../img/hero.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.4) 0%,
    rgba(13, 13, 13, 0.6) 60%,
    rgba(13, 13, 13, 0.95) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.hero__badge {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  line-height: 1.5;
}

/* ===== NEXT SHOW ===== */
.next-show {
  padding: var(--section-padding) 0;
  background: var(--bg);
}

.next-show__card {
  background: var(--bg-card);
  border: 1px solid rgba(200, 168, 78, 0.2);
  border-radius: 4px;
  padding: 48px;
  text-align: center;
}

.next-show__details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.next-show__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.next-show__label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.next-show__value {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text);
}

.next-show__inactive {
  text-align: center;
  padding: 48px;
}

.next-show__inactive p {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== ABOUT ===== */
.about {
  position: relative;
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.about__bg {
  position: absolute;
  inset: 0;
  background: url('../img/about-bg.jpg') center center / cover no-repeat;
  opacity: 0.08;
}

.about__text {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}

.about__text p {
  margin-bottom: 24px;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text);
}

.about__text p:last-child {
  margin-bottom: 0;
}

/* ===== VIDEO ===== */
.video-section {
  padding: var(--section-padding) 0;
  background: var(--bg-card);
}

.video-section__wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

.video-section__player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== GALLERY ===== */
.gallery {
  padding: var(--section-padding) 0;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery__item {
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  aspect-ratio: 3 / 4;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s;
}

.gallery__item:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

/* ===== TEAM ===== */
.team {
  padding: var(--section-padding) 0;
  background: var(--bg-card);
}

.team__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
  max-width: 900px;
  margin: 0 auto;
}

.team__member {
  width: calc(33.333% - 32px);
}

.team__member {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  min-width: 200px;
}

.team__role {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.team__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
}

.team__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== CONTACT ===== */
.contact {
  padding: var(--section-padding) 0;
  text-align: center;
}

.contact__text {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact__email {
  margin-bottom: 32px;
}

.contact__email a {
  color: var(--accent);
  font-size: 1.125rem;
  transition: color 0.3s;
}

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

.contact__actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer p:last-child {
  margin-bottom: 0;
}

.footer a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--accent);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 16px;
  transition: color 0.3s;
  line-height: 1;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  color: var(--accent);
}

.lightbox__close {
  top: 16px;
  right: 24px;
}

.lightbox__prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}

.lightbox__next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}

/* ===== FADE IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 32px;
  }

  /* Nav mobile */
  .nav__burger {
    display: flex;
  }

  .nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right 0.3s ease;
    z-index: 105;
  }

  .nav__list.open {
    right: 0;
  }

  .nav__link {
    font-size: 1.125rem;
  }

  /* Hero mobile */
  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    font-size: 1.125rem;
    margin-bottom: 32px;
  }

  .hero__badge {
    font-size: 0.8rem;
  }

  /* Next show mobile */
  .next-show__details {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .next-show__card {
    padding: 32px 24px;
  }

  /* About mobile */
  .about__text p {
    font-size: 1.1rem;
  }

  /* Gallery mobile */
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  /* Team mobile */
  .team__member {
    width: 100%;
  }

  /* Buttons mobile */
  .btn {
    padding: 14px 32px;
    font-size: 0.9rem;
  }

  .contact__actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .next-show__details {
    grid-template-columns: 1fr;
  }

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