/* ============================================
   ELINA RICHTER — Personal Website
   Color scheme: Black & Gold
   ============================================ */

/* --- Variables --- */
:root {
  --black: #0a0a0a;
  --black-light: #141414;
  --black-section: #111111;
  --gold: #c9a84c;
  --gold-light: #e0c872;
  --gold-dark: #8b7335;
  --gold-pale: #f5e6b8;
  --cream: #f0e6d3;
  --white: #fafafa;
  --gray: #888888;
  --gray-dark: #444444;

  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

  --container: 1200px;
  --section-padding: 100px 0;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--gold);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 40px;
  text-align: center;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 0;
}

h3 {
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
  color: var(--cream);
}

.text-gold { color: var(--gold); }
.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 40px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-filled {
  background: var(--gold);
  color: var(--black);
}

.btn-filled:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--black);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-list a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  padding-bottom: 4px;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--gold);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 28px;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition);
}

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

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active 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;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero.jpg') center center / cover no-repeat;
  filter: brightness(0.35);
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero:hover .hero-bg {
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.1) 40%,
    rgba(10, 10, 10, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--cream);
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.hero .btn {
  margin: 0 8px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  opacity: 0.6;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(12px); }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: var(--section-padding);
  background: var(--black);
}

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

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter var(--transition);
}

.about-image:hover img {
  filter: grayscale(0%);
}

.about-image::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--gold);
  z-index: -1;
}

.about-text h2 {
  text-align: left;
}

.about-text h2::after {
  margin: 16px 0 0;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-highlights {
  display: flex;
  gap: 40px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--gray-dark);
  border-bottom: 1px solid var(--gray-dark);
}

.highlight {
  text-align: center;
}

.highlight-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}

.highlight-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--section-padding);
  background: var(--black-section);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  background: var(--black-light);
  padding: 40px 24px;
  text-align: center;
  border: 1px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

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

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.video-item {
  position: relative;
  background: var(--black-light);
  overflow: hidden;
}

.video-item video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.video-caption {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-caption h4 {
  font-size: 1rem;
  color: var(--cream);
}

.video-caption span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ============================================
   REPERTOIRE
   ============================================ */
.repertoire {
  padding: var(--section-padding);
  background: var(--black-section);
}

.repertoire-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 28px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--gray-dark);
  color: var(--cream);
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.repertoire-list {
  columns: 2;
  column-gap: 60px;
}

.repertoire-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(68, 68, 68, 0.3);
  font-size: 0.95rem;
  break-inside: avoid;
}

.repertoire-list li span {
  color: var(--gray);
  font-size: 0.85rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: var(--section-padding);
  background: var(--black);
  overflow: hidden;
}

.testimonials-slider {
  max-width: 800px;
  margin: 60px auto 0;
  position: relative;
}

.testimonial {
  display: none;
  text-align: center;
  padding: 0 40px;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--cream);
  margin-bottom: 24px;
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--gold);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
  font-style: normal;
}

.testimonial-author {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.testimonial-event {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 4px;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-dark);
  cursor: pointer;
  transition: background var(--transition);
}

.slider-dot.active {
  background: var(--gold);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 60px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201, 168, 76, 0);
  transition: background var(--transition);
}

.gallery-item:hover::after {
  background: rgba(201, 168, 76, 0.15);
}

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

.lightbox.active {
  display: flex;
}

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

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  color: var(--gold);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: var(--section-padding);
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-info h3 {
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  font-size: 1.2rem;
  color: var(--gold);
  min-width: 24px;
  text-align: center;
  padding-top: 2px;
}

.contact-item-text a {
  color: var(--cream);
}

.contact-item-text a:hover {
  color: var(--gold);
}

.contact-social {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.contact-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-dark);
  color: var(--cream);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.contact-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--black-light);
  border: 1px solid var(--gray-dark);
  color: var(--cream);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form .btn {
  align-self: flex-start;
  width: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black-light);
  padding: 60px 0 30px;
  border-top: 1px solid var(--gray-dark);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(68, 68, 68, 0.3);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray);
  margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-highlights {
    gap: 24px;
  }
}

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

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right var(--transition);
    border-left: 1px solid var(--gray-dark);
  }

  .nav-list.open {
    right: 0;
  }

  .burger {
    display: flex;
  }

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

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-text h2 {
    text-align: center;
  }

  .about-text h2::after {
    margin: 16px auto 0;
  }

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

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

  .repertoire-list {
    columns: 1;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-highlights {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero .btn {
    display: block;
    margin: 8px auto;
    max-width: 260px;
  }

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

  .contact-social {
    justify-content: center;
  }
}
