/* ===== Custom Properties ===== */
:root {
  --color-bg-dark: #0a0a0a;
  --color-bg: #141418;
  --color-bg-light: #1e1e24;
  --color-gold: #c9a84c;
  --color-gold-dark: #8b6914;
  --color-text: #e0ddd5;
  --color-text-muted: #9a9690;
  --color-border: #2a2a30;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background: var(--color-bg-dark);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

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

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 40px;
  width: auto;
}

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

.nav__links a {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav__links a:hover {
  color: var(--color-gold);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

.nav__hamburger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-bg-dark);
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(139, 105, 20, 0.15) 0%, transparent 70%);
}

.hero__geometry {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Ccircle cx='200' cy='200' r='150' fill='none' stroke='%23c9a84c' stroke-width='0.5'/%3E%3Ccircle cx='200' cy='200' r='100' fill='none' stroke='%23c9a84c' stroke-width='0.5'/%3E%3Ccircle cx='200' cy='200' r='50' fill='none' stroke='%23c9a84c' stroke-width='0.5'/%3E%3Cpolygon points='200,50 350,275 50,275' fill='none' stroke='%23c9a84c' stroke-width='0.5'/%3E%3Cpolygon points='200,350 50,125 350,125' fill='none' stroke='%23c9a84c' stroke-width='0.5'/%3E%3Cline x1='200' y1='0' x2='200' y2='400' stroke='%23c9a84c' stroke-width='0.3'/%3E%3Cline x1='0' y1='200' x2='400' y2='200' stroke='%23c9a84c' stroke-width='0.3'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  background-position: center;
  background-repeat: repeat;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__logo {
  width: clamp(200px, 40vw, 500px);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(201, 168, 76, 0.3));
}

.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--color-text-muted);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 16px;
}

.hero__cta {
  display: inline-block;
  margin-top: 48px;
  padding: 16px 48px;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}

.hero__cta:hover {
  background: var(--color-gold);
  color: var(--color-bg-dark);
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 2px;
}

/* ===== About ===== */
.about {
  background: var(--color-bg);
}

.about__description {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.about__members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.member-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.member-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-dark);
}

.member-card__image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.member-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-card__placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 2rem;
}

.member-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 4px;
}

.member-card__role {
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.member-card__bio {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== Schedule ===== */
.schedule {
  background: var(--color-bg-dark);
}

.schedule__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: -40px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.schedule__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.schedule__item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: var(--color-bg);
  transition: background 0.3s;
}

.schedule__item:hover {
  background: var(--color-bg-light);
}

.schedule__date {
  text-align: center;
}

.schedule__date-month {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gold);
}

.schedule__date-day {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
}

.schedule__date-year {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.schedule__venue-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 4px;
}

.schedule__venue-city {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.schedule__venue-details {
  color: var(--color-gold-dark);
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 4px;
}

.schedule__venue-time {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.schedule__ticket {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}

.schedule__ticket:hover {
  background: var(--color-gold);
  color: var(--color-bg-dark);
}

.schedule__empty {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1rem;
  padding: 40px 0;
}

/* ===== Videos ===== */
.videos {
  background: var(--color-bg-dark);
}

.videos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.video-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.video-card__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-card__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card__info {
  padding: 20px;
}

.video-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 8px;
}

.video-card__description {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ===== Gallery ===== */
.gallery {
  background: var(--color-bg);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.gallery__item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
}

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

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

.gallery__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 16px;
}

/* ===== Social ===== */
.social {
  background: var(--color-bg);
}

.social__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: -40px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.social__grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.social__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 48px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: transform 0.3s, border-color 0.3s;
  min-width: 200px;
}

.social__card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-dark);
}

.social__card svg {
  width: 48px;
  height: 48px;
  fill: currentColor;
  color: var(--color-gold);
  transition: color 0.3s;
}

.social__card:hover svg {
  color: var(--color-gold);
}

.social__card-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text);
  letter-spacing: 1px;
}

.social__card-handle {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== Contact ===== */
.contact {
  background: var(--color-bg);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact__info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-text);
  margin-bottom: 16px;
}

.contact__info p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.contact__details {
  list-style: none;
}

.contact__details li {
  color: var(--color-text-muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.contact__details li strong {
  color: var(--color-text);
}

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

.contact__honeypot {
  position: absolute;
  left: -9999px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form__group input,
.form__group select,
.form__group textarea {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form__group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239a9690' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__submit {
  padding: 14px 32px;
  background: var(--color-gold-dark);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.form__submit:hover {
  background: var(--color-gold);
  color: var(--color-bg-dark);
}

.form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form__status {
  font-size: 0.9rem;
  min-height: 24px;
}

.form__status--success {
  color: #5cb85c;
}

.form__status--error {
  color: #d9534f;
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

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

.footer__social a:hover {
  color: var(--color-gold);
}

.footer__social svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.footer__copyright {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

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

.lightbox[hidden] {
  display: none;
}

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

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

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

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

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

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

.lightbox__caption {
  color: var(--color-text-muted);
  margin-top: 16px;
  font-size: 0.9rem;
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .member-card,
  .social__card,
  .gallery__item img,
  .hero__cta,
  .schedule__item,
  .nav {
    transition: none;
  }

  .member-card:hover,
  .social__card:hover {
    transform: none;
  }

  .gallery__item:hover img {
    transform: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 32px 0;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav__links--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .contact__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .schedule__item {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }

  .schedule__ticket {
    grid-column: 1 / -1;
    text-align: center;
  }

  .social__card {
    min-width: 160px;
    padding: 32px 36px;
  }

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

  .about__members {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }

  .section__title {
    margin-bottom: 40px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
