/* ============================================================
   MÛTENA — SHARED DESIGN SYSTEM
   Diplomatic Museum Gravitas
   ============================================================ */

:root {
  --bg-color: #F6F4EE;
  --ink-primary: #111111;
  --ink-secondary: #6B6B6B;
  --divider-color: rgba(17, 17, 17, 0.08);
  --accent-color: #9B1B30;
  --transition-default: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--ink-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Subtle Film Grain/Paper Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.018;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Selection Color */
::selection {
  background-color: rgba(155, 27, 48, 0.12);
  color: var(--accent-color);
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
}

p {
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-primary);
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  display: inline-block;
  margin-bottom: 16px;
}

.accent-italic {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  color: var(--accent-color);
}

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

/* ============================================================
   LAYOUTS & SECTIONS
   ============================================================ */

section {
  padding: 120px 8%;
  position: relative;
  border-bottom: 0.5px solid var(--divider-color);
}

@media (max-width: 768px) {
  section {
    padding: 80px 6%;
  }
}

/* ============================================================
   STICKY HEADER
   ============================================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  z-index: 1000;
  border-bottom: 0.5px solid rgba(246, 244, 238, 0.15);
  background-color: transparent;
  color: #F6F4EE;
  transition: height 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

header.scrolled {
  height: 75px;
  background-color: rgba(246, 244, 238, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--divider-color);
  color: var(--ink-primary);
}

/* For sub-pages that don't have a dark hero */
header.light-header {
  background-color: rgba(246, 244, 238, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--divider-color);
  color: var(--ink-primary);
}

.logo-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.logo-wordmark span {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: italic;
  color: var(--accent-color);
}

header.scrolled .logo-wordmark span,
header.light-header .logo-wordmark span {
  color: var(--accent-color);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease, left 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
  left: 0;
}

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

header.scrolled nav a:hover,
header.light-header nav a:hover {
  color: var(--accent-color);
}

/* Mobile Menu Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: currentColor;
  padding: 10px;
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

@media (max-width: 768px) {
  header {
    padding: 0 6%;
  }
  .mobile-nav-toggle {
    display: block;
  }
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-color);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 40px;
    gap: 24px;
    z-index: 999;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    color: var(--ink-primary) !important;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }
  nav.open {
    right: 0;
  }
  nav a {
    font-size: 14px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background-color: #121110;
  color: rgba(246, 244, 238, 0.4);
  padding: 40px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 0.5px solid rgba(246, 244, 238, 0.05);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer a {
  color: rgba(246, 244, 238, 0.5);
  transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 30px 6%;
  }
}

/* ============================================================
   SUB-PAGE HERO (Banner)
   ============================================================ */

.page-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px 8% 80px 8%;
  box-sizing: border-box;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #F6F4EE;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42, 26, 24, 0.92), rgba(107, 58, 46, 0.88));
  mix-blend-mode: multiply;
  z-index: 1;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Stylized Five-line sheet music staff lines */
  background-image: repeating-linear-gradient(
    to bottom,
    transparent, transparent 70px,
    rgba(255, 255, 255, 0.04) 70px, rgba(255, 255, 255, 0.04) 71px,
    transparent 71px, transparent 77px,
    rgba(255, 255, 255, 0.04) 77px, rgba(255, 255, 255, 0.04) 78px,
    transparent 78px, transparent 84px,
    rgba(255, 255, 255, 0.04) 84px, rgba(255, 255, 255, 0.04) 85px,
    transparent 85px, transparent 90px,
    rgba(255, 255, 255, 0.04) 90px, rgba(255, 255, 255, 0.04) 91px,
    transparent 91px, transparent 97px,
    rgba(255, 255, 255, 0.04) 97px, rgba(255, 255, 255, 0.04) 98px,
    transparent 98px, transparent 200px
  );
  z-index: 2;
}

.page-hero > * {
  position: relative;
  z-index: 3;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1) brightness(0.8);
  z-index: 0;
}

.page-hero .eyebrow {
  color: rgba(246, 244, 238, 0.6);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.page-hero .hero-description {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(246, 244, 238, 0.85);
  max-width: 640px;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 45vh;
    padding-top: 120px;
  }
}

/* ============================================================
   CONTENT SECTION PATTERNS
   ============================================================ */

.section-header {
  max-width: 600px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(36px, 4.5vw, 54px);
}

/* Two-column text + sidebar layout */
.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 992px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

.content-text h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 24px;
  max-width: 540px;
}

.content-text p {
  font-size: 16px;
  color: #333;
  margin-bottom: 24px;
  max-width: 580px;
}

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

/* Sidebar module */
.sidebar-module {
  border-top: 0.5px solid var(--divider-color);
  padding-top: 24px;
}

.sidebar-module .eyebrow {
  margin-bottom: 32px;
}

/* ============================================================
   TEAM / LIST ITEMS
   ============================================================ */

.list-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--divider-color);
  gap: 16px;
}

.list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.list-item-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--ink-secondary);
  text-transform: uppercase;
  white-space: nowrap;
}

.list-item-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-primary);
  text-align: right;
}

/* ============================================================
   EVENT CARDS
   ============================================================ */

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

.event-card.reverse {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .event-card,
  .event-card.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .event-card.reverse .event-image-wrapper {
    order: -1;
  }
}

.event-image-wrapper {
  position: relative;
  background: linear-gradient(135deg, #2A1A18, #6B3A2E);
  line-height: 0;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 3;
  border: 0.5px solid var(--divider-color);
}

.event-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: grayscale(100%) contrast(1.1) brightness(0.95);
  transition: var(--transition-default);
}

.event-image-wrapper:hover img {
  transform: scale(1.02);
  filter: grayscale(85%) contrast(1.15) brightness(1.02);
}

.event-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-date {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--accent-color);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-date::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 1px;
  background-color: currentColor;
}

.event-title {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 16px;
  color: var(--ink-primary);
}

.event-venue {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-secondary);
  margin-bottom: 24px;
  border-bottom: 0.5px solid var(--divider-color);
  padding-bottom: 12px;
}

.event-description {
  font-size: 15px;
  color: #444;
}

/* ============================================================
   GALLERY
   ============================================================ */

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

.gallery-item {
  position: relative;
  background: linear-gradient(135deg, #2A1A18, #6B3A2E);
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 3 / 2;
  border: 0.5px solid var(--divider-color);
  cursor: crosshair;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: grayscale(100%) contrast(1.1) brightness(0.95);
  transition: var(--transition-default);
}

.gallery-item:hover img {
  transform: scale(1.03);
  filter: grayscale(80%) contrast(1.15) brightness(1);
}

.gi-1 { grid-column: span 7; }
.gi-2 { grid-column: span 5; }
.gi-3 { grid-column: span 5; aspect-ratio: 4/5; }
.gi-4 { grid-column: span 7; aspect-ratio: 16/10; }
.gi-full { grid-column: span 12; aspect-ratio: 21/9; }
.gi-4c { grid-column: span 4; }
.gi-6c { grid-column: span 6; }
.gi-8c { grid-column: span 8; }
.gi-3c { grid-column: span 3; aspect-ratio: 1/1; }

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gallery-item {
    grid-column: span 1 !important;
    aspect-ratio: 3 / 2 !important;
  }
}

/* ============================================================
   PARTNER / CARD GRID
   ============================================================ */

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

@media (max-width: 992px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.partner-card {
  padding: 24px 0;
  border-top: 0.5px solid var(--divider-color);
  transition: var(--transition-default);
}

.partner-card:hover {
  border-top-color: var(--accent-color);
}

.partner-index {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-color);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}

.partner-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink-primary);
}

.partner-description {
  font-size: 14px;
  color: var(--ink-secondary);
  margin-top: 12px;
  line-height: 1.7;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

.contact-section {
  background-color: #1A1817;
  color: #F6F4EE;
  border-bottom: none;
}

.contact-section .eyebrow {
  color: rgba(246, 244, 238, 0.5);
}

.contact-info h2 {
  font-size: clamp(36px, 5vw, 54px);
  margin-bottom: 24px;
}

.contact-tagline {
  font-size: 16px;
  color: rgba(246, 244, 238, 0.7);
  max-width: 420px;
  font-weight: 300;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 576px) {
  .contact-details {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.contact-col {
  display: flex;
  flex-direction: column;
}

.contact-col .eyebrow {
  color: rgba(246, 244, 238, 0.5);
  margin-bottom: 16px;
}

.contact-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: #F6F4EE;
  margin-bottom: 8px;
  display: inline-block;
  border-bottom: 0.5px solid rgba(246, 244, 238, 0.2);
  width: fit-content;
  padding-bottom: 2px;
}

.contact-link:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.contact-address {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: rgba(246, 244, 238, 0.85);
  line-height: 1.4;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 560px;
}

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

.form-group label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.5);
}

.form-group input,
.form-group textarea,
.form-group select {
  background-color: rgba(246, 244, 238, 0.06);
  border: 0.5px solid rgba(246, 244, 238, 0.15);
  border-radius: 2px;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #F6F4EE;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(246, 244, 238, 0.3);
}

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

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

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

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.btn-submit {
  background-color: var(--accent-color);
  color: #F6F4EE;
  border: none;
  padding: 16px 40px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition-default);
  align-self: flex-start;
}

.btn-submit:hover {
  background-color: #7a1526;
  transform: translateY(-1px);
}

/* ============================================================
   PRESS / TIMELINE
   ============================================================ */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 0.5px solid var(--divider-color);
  margin-left: 24px;
}

.timeline-item {
  padding: 32px 0 32px 48px;
  position: relative;
  border-bottom: 0.5px solid var(--divider-color);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 40px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.timeline-date {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.timeline-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  color: var(--ink-primary);
  margin-bottom: 12px;
}

.timeline-source {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}

.timeline-excerpt {
  font-size: 15px;
  color: #444;
  max-width: 600px;
}

.timeline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-color);
  border-bottom: 0.5px solid var(--accent-color);
  padding-bottom: 2px;
}

.timeline-link:hover {
  color: #7a1526;
  border-bottom-color: #7a1526;
}

@media (max-width: 768px) {
  .timeline {
    margin-left: 12px;
  }
  .timeline-item {
    padding-left: 32px;
  }
}

/* ============================================================
   VALUES / STATS GRID
   ============================================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.value-card {
  border-top: 0.5px solid var(--divider-color);
  padding-top: 24px;
}

.value-card .value-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 12px;
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.7;
}

/* ============================================================
   PRESS KIT DOWNLOAD
   ============================================================ */

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.download-card {
  background-color: rgba(17, 17, 17, 0.02);
  border: 0.5px solid var(--divider-color);
  border-radius: 2px;
  padding: 32px 28px;
  transition: var(--transition-default);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.download-card .card-icon {
  width: 32px;
  height: 32px;
  stroke: var(--accent-color);
  fill: none;
  stroke-width: 1;
}

.download-card h4 {
  font-size: 18px;
}

.download-card p {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ============================================================
   CTA BUTTON
   ============================================================ */

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-color);
  border-bottom: 0.5px solid var(--accent-color);
  padding-bottom: 4px;
  margin-top: 32px;
  transition: var(--transition-default);
}

.btn-cta:hover {
  color: #7a1526;
  border-bottom-color: #7a1526;
  transform: translateX(4px);
}

.btn-cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.2;
  fill: none;
}

/* ============================================================
   MAP CONTAINER
   ============================================================ */

.map-container {
  margin-top: 64px;
  width: 100%;
  aspect-ratio: 21/9;
  background: linear-gradient(135deg, #2A1A18, #6B3A2E);
  border-radius: 2px;
  overflow: hidden;
  border: 0.5px solid rgba(246, 244, 238, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) contrast(1.1) brightness(0.6);
  transition: filter 0.5s ease;
}

.map-container:hover iframe {
  filter: grayscale(60%) contrast(1) brightness(0.8);
}

@media (max-width: 768px) {
  .map-container {
    aspect-ratio: 16/9;
  }
}

/* ============================================================
   SCROLL-REVEAL ANIMATIONS
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes fade-slide-up {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .scroll-reveal {
      animation: fade-slide-up auto linear forwards;
      animation-timeline: view();
      animation-range: entry 10% entry 35%;
    }
  }
}

/* Fallback for browsers without scroll-driven animation support */
@supports (not (animation-timeline: view())) or (not (animation-range: entry)) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .scroll-reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(18, 17, 16, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-overlay.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 32px;
  right: 32px;
  color: rgba(246, 244, 238, 0.6);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
}

.lightbox-close:hover {
  color: #F6F4EE;
}

/* ============================================================
   SOCIAL ICONS
   ============================================================ */

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 0.5px solid rgba(246, 244, 238, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-default);
}

.social-link:hover {
  border-color: var(--accent-color);
  background-color: rgba(155, 27, 48, 0.1);
}

.social-link svg {
  width: 16px;
  height: 16px;
  stroke: rgba(246, 244, 238, 0.7);
  fill: none;
  stroke-width: 1.5;
}

.social-link:hover svg {
  stroke: var(--accent-color);
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 24px;
  padding-left: 24px;
  border-left: 0.5px solid rgba(255,255,255,0.2);
}

header.scrolled .lang-switcher,
header.light-header .lang-switcher {
  border-left-color: var(--divider-color);
}

.lang-btn {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.5;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 2px;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

.lang-btn:hover {
  opacity: 0.8;
}

.lang-btn.active {
  opacity: 1;
  background-color: rgba(155, 27, 48, 0.15);
  color: var(--accent-color);
}

header.scrolled .lang-btn.active,
header.light-header .lang-btn.active {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 0.5px solid var(--divider-color);
    justify-content: flex-start;
  }
}

/* Multi-language visibility */
[data-lang] {
  display: none;
}

html[lang="tr"] [data-lang="tr"],
html[lang="en"] [data-lang="en"],
html[lang="de"] [data-lang="de"] {
  display: revert;
}

/* For flex/grid parents, we need inline display for certain elements */
html[lang="tr"] span[data-lang="tr"],
html[lang="en"] span[data-lang="en"],
html[lang="de"] span[data-lang="de"] {
  display: inline;
}

html[lang="tr"] div[data-lang="tr"],
html[lang="en"] div[data-lang="en"],
html[lang="de"] div[data-lang="de"] {
  display: block;
}

html[lang="tr"] p[data-lang="tr"],
html[lang="en"] p[data-lang="en"],
html[lang="de"] p[data-lang="de"] {
  display: block;
}

html[lang="tr"] a[data-lang="tr"],
html[lang="en"] a[data-lang="en"],
html[lang="de"] a[data-lang="de"] {
  display: inline-block;
}

html[lang="tr"] h1[data-lang="tr"],
html[lang="en"] h1[data-lang="en"],
html[lang="de"] h1[data-lang="de"],
html[lang="tr"] h2[data-lang="tr"],
html[lang="en"] h2[data-lang="en"],
html[lang="de"] h2[data-lang="de"],
html[lang="tr"] h3[data-lang="tr"],
html[lang="en"] h3[data-lang="en"],
html[lang="de"] h3[data-lang="de"],
html[lang="tr"] h4[data-lang="tr"],
html[lang="en"] h4[data-lang="en"],
html[lang="de"] h4[data-lang="de"] {
  display: block;
}

html[lang="tr"] li[data-lang="tr"],
html[lang="en"] li[data-lang="en"],
html[lang="de"] li[data-lang="de"] {
  display: list-item;
}

/* Flex items that need flex display */
html[lang="tr"] .event-date[data-lang="tr"],
html[lang="en"] .event-date[data-lang="en"],
html[lang="de"] .event-date[data-lang="de"] {
  display: flex;
}

html[lang="tr"] .hero-scroll-hint[data-lang="tr"],
html[lang="en"] .hero-scroll-hint[data-lang="en"],
html[lang="de"] .hero-scroll-hint[data-lang="de"] {
  display: flex;
}
