/* ================================================
   IRAKLI KAKHIDZE — Georgian Tenor
   Personal Website Styles
   ================================================ */

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

:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-surface: #1A1A1A;
  --bg-light: #F5F2EC;
  --gold: #C9A84C;
  --gold-hover: #B8952E;
  --gold-light: #E2C97E;
  --white: #FFFFFF;
  --text-muted: #A8A8A8;
  --text-dim: #666666;
  --border-dark: rgba(255, 255, 255, 0.10);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --nav-height: 72px;
  --max-width: 1280px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* === UTILITY === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 24px;
  padding: 13px 28px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: #111111;
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.03);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.text-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* === ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* === NAVIGATION === */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 8px 20px !important;
  font-size: 12px !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

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

/* === HERO === */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(1.05);
  transform: scale(1.05);
  transition: transform 8s ease;
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.75) 40%,
    rgba(10, 10, 10, 0.25) 70%,
    rgba(10, 10, 10, 0.1) 100%
  );
  z-index: 1;
}

/* Subtle vertical gradient at bottom */
.hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(10,10,10,0.85), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px;
  max-width: 700px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.4s forwards;
}

.hero-tagline {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 440px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.6s forwards;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.8s forwards;
}

.play-icon {
  width: 20px;
  height: 20px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.8), transparent);
  animation: scrollPulse 2s ease infinite;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* === STATS BAR === */
#stats {
  background: var(--bg-secondary);
  padding: 64px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 24px 32px;
  border-right: 1px solid var(--border-dark);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* === BIOGRAPHY === */
#biography {
  background: var(--bg-primary);
  padding: 120px 0;
}

.bio-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: center;
}

.bio-photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(1.05);
  transition: transform 0.6s ease;
}

.bio-photo:hover img {
  transform: scale(1.03);
}

.bio-photo-frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 168, 76, 0.2);
  pointer-events: none;
  margin: 12px;
}

.bio-content .eyebrow {
  margin-bottom: 16px;
}

.bio-content .section-heading {
  margin-bottom: 28px;
  max-width: 520px;
}

.bio-text p {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.bio-text p:last-child {
  margin-bottom: 32px;
}

/* === PERFORMANCES === */
#performances {
  background: var(--bg-secondary);
  padding: 120px 0;
}

.performances-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

.performance-list {
  list-style: none;
}

.performance-row {
  display: grid;
  grid-template-columns: 160px 1fr 1fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.2s;
}

.performance-row:first-child {
  border-top: 1px solid var(--border-subtle);
}

.performance-row:hover {
  background: rgba(255,255,255,0.02);
  padding-left: 8px;
  padding-right: 8px;
  margin: 0 -8px;
  border-radius: 4px;
}

.perf-date {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.perf-opera {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.01em;
}

.perf-role {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  font-style: italic;
}

.perf-venue {
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
}

.performances-footer {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.operabase-link {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}

.operabase-link:hover {
  gap: 14px;
}

/* === MEDIA === */
#media {
  background: var(--bg-primary);
  padding: 120px 0;
}

.media-header {
  text-align: center;
  margin-bottom: 56px;
}

.featured-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0d0d0d;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid var(--border-dark);
}

.featured-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.video-card {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-surface);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-dark);
}

.video-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.video-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%);
  transition: filter 0.3s;
}

.video-card:hover .video-card-thumb {
  filter: grayscale(20%);
}

.video-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.25s;
  background: rgba(0,0,0,0.3);
}

.video-card:hover .video-play-btn {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(201,168,76,0.5);
}

.video-card-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-style: italic;
}

.media-footer {
  text-align: center;
}

/* === PRESS === */
#press {
  background: var(--bg-secondary);
  padding: 120px 0;
}

.press-header {
  text-align: center;
  margin-bottom: 64px;
}

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

.press-card {
  background: rgba(255,255,255,0.02);
  padding: 44px 36px;
  border: 1px solid var(--border-subtle);
  transition: background 0.3s;
  position: relative;
}

.press-card:hover {
  background: rgba(255,255,255,0.04);
}

.press-quote-mark {
  font-family: var(--font-heading);
  font-size: 80px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 24px;
  display: block;
  font-weight: 300;
}

.press-quote {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 28px;
}

.press-attribution {
  display: flex;
  align-items: center;
  gap: 12px;
}

.press-line {
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.press-source {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* === CONTACT === */
#contact {
  background: var(--bg-primary);
  padding: 120px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-left .eyebrow {
  margin-bottom: 16px;
}

.contact-left .section-heading {
  margin-bottom: 20px;
}

.contact-left p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.management-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.management-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}

.management-link:hover {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.04);
}

.management-icon {
  font-size: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
}

.management-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.management-handle {
  font-size: 12px;
  color: var(--text-muted);
}

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

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

.form-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(255,255,255,0.06);
}

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

.form-select option {
  background: #1A1A1A;
}

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

.form-submit {
  align-self: flex-start;
}

/* === FOOTER === */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-tagline {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: -18px;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.social-link {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  color: var(--text-muted);
}

.social-link:hover {
  border-color: rgba(201,168,76,0.5);
  background: rgba(201,168,76,0.08);
  color: var(--gold);
  box-shadow: 0 0 16px rgba(201,168,76,0.2);
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .container, .nav-inner {
    padding: 0 32px;
  }
  .hero-content {
    padding: 0 32px;
  }
  .bio-grid {
    gap: 48px;
  }
  .performance-row {
    grid-template-columns: 120px 1fr 1fr;
  }
  .perf-venue {
    display: none;
  }
}

@media (max-width: 768px) {
  .container, .nav-inner {
    padding: 0 24px;
  }
  .hero-content {
    padding: 0 24px;
    max-width: 100%;
  }

  .nav-links, .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  #stats { padding: 48px 0; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border-dark); border-top: 1px solid var(--border-dark); }
  .stat-item:nth-child(4) { border-right: none; border-top: 1px solid var(--border-dark); }

  #biography { padding: 80px 0; }
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .bio-photo {
    aspect-ratio: 4/3;
    max-height: 380px;
  }

  #performances { padding: 80px 0; }
  .performances-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .performance-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }
  .perf-opera { font-size: 18px; }
  .perf-venue { display: block; text-align: left; }

  #media { padding: 80px 0; }
  .video-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #press { padding: 80px 0; }
  .press-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #contact { padding: 80px 0; }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: clamp(40px, 11vw, 72px);
  }
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
