/* ============================================
   GHIACCIO SPETTACOLO - Design System
   Theatrical Ice Theme
   ============================================ */

/* CSS Reset & Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --bg-dark: #07070c;
  --bg-darker: #05050a;
  --bg-card: #0c0c14;
  --ice: #a8d5e5;
  --ice-light: #c4e4ef;
  --ice-dark: #7bb8cc;
  --gold: #c9a961;
  --gold-light: #d4b876;
  --gold-dark: #a88a4a;
  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-80: rgba(255, 255, 255, 0.8);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-30: rgba(255, 255, 255, 0.3);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-05: rgba(255, 255, 255, 0.05);
  
  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;
  
  /* Layout */
  --container-max: 1400px;
  --container-narrow: 900px;
  
  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

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

.font-display {
  font-family: var(--font-display);
}

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

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

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

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

@keyframes glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.shimmer-text {
  background: linear-gradient(90deg, #c9a961 0%, #f0e6d2 25%, #c9a961 50%, #f0e6d2 75%, #c9a961 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.fade-up {
  animation: fadeUp 1s var(--ease-out) forwards;
}

.fade-up-delay-1 { animation-delay: 0.2s; opacity: 0; }
.fade-up-delay-2 { animation-delay: 0.4s; opacity: 0; }
.fade-up-delay-3 { animation-delay: 0.6s; opacity: 0; }
.fade-up-delay-4 { animation-delay: 0.8s; opacity: 0; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   LAYOUT
   ============================================ */

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

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-dark {
  padding: var(--space-2xl) 0;
  background: var(--bg-darker);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.text-ice { color: var(--ice); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--white-60); }

.section-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 300;
  line-height: 1.3;
  color: var(--white-80);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
}

h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; }
h3 { font-size: clamp(20px, 2.5vw, 28px); line-height: 1.3; }
h4 { font-size: clamp(18px, 2vw, 22px); line-height: 1.4; }

p {
  color: var(--white-80);
  line-height: 1.7;
}

.lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--white-60);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 48px;
  transition: all 0.5s ease;
}

.nav.scrolled {
  background: rgba(7, 7, 12, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 48px;
  border-bottom: 1px solid var(--white-05);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--white);
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 0.8;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-60);
  padding: 12px 16px;
  transition: color 0.3s;
}

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

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  max-height: 70vh;
  overflow-y: auto;
  background: rgba(7, 7, 12, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--white-10);
  border-radius: 4px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease-out);
}

/* Scrollbar styling for dropdown */
.nav-dropdown::-webkit-scrollbar {
  width: 4px;
}

.nav-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.nav-dropdown::-webkit-scrollbar-thumb {
  background: var(--white-20);
  border-radius: 2px;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-group {
  padding: 8px 0;
  border-bottom: 1px solid var(--white-05);
}

.dropdown-group:last-child {
  border-bottom: none;
}

.dropdown-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 20px 4px;
}

.dropdown-link {
  display: block;
  font-size: 13px;
  color: var(--white-60);
  padding: 10px 20px;
  transition: all 0.2s;
}

.dropdown-link:hover {
  color: var(--white);
  background: var(--white-05);
}

.nav-cta {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid rgba(201, 169, 97, 0.5);
  color: var(--gold);
  margin-left: 16px;
  transition: all 0.3s;
}

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

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 999;
  padding: 100px 48px 48px;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid var(--white-10);
}

.mobile-dropdown-link {
  display: block;
  font-size: 16px;
  color: var(--white-60);
  padding: 12px 0 12px 24px;
}

/* Mobile Accordion */
.mobile-nav-section {
  border-bottom: 1px solid var(--white-10);
}

.mobile-nav-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--white);
  padding: 16px 0;
  cursor: pointer;
  text-align: left;
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--white-40);
  transition: transform 0.3s ease;
}

.mobile-nav-section.open .mobile-nav-toggle svg {
  transform: rotate(180deg);
}

.mobile-nav-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-nav-section.open .mobile-nav-submenu {
  max-height: 500px;
}

.mobile-nav-submenu a {
  display: block;
  font-size: 16px;
  color: var(--white-60);
  padding: 10px 0 10px 24px;
  transition: color 0.2s;
}

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

.mobile-nav-group-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 12px 0 6px 24px;
  margin-top: 8px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

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

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-ice {
  background: var(--ice);
  color: var(--bg-dark);
}

.btn-ice:hover {
  background: var(--ice-light);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--white);
  background: var(--white-05);
}

.btn-outline-gold {
  background: transparent;
  border: 1px solid rgba(201, 169, 97, 0.5);
  color: var(--gold);
}

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

.link-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: all 0.3s;
}

.link-gold:hover {
  gap: 16px;
}

.link-gold svg {
  transition: transform 0.3s;
}

.link-gold:hover svg {
  transform: translateX(4px);
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--white-05);
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
}

.card:hover {
  border-color: var(--white-10);
  transform: translateY(-4px);
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--space-md);
}

.card-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
}

.card-text {
  font-size: 14px;
  color: var(--white-60);
  line-height: 1.6;
}

/* Event Card */
.event-card {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--white-05);
  transition: all 0.3s;
}

.event-card:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 97, 0.05);
}

.event-date {
  text-align: center;
  padding: var(--space-sm);
  background: var(--white-05);
}

.event-date-day {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  color: var(--white);
}

.event-date-month {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.event-info h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.event-location {
  font-size: 14px;
  color: var(--white-60);
}

.event-location svg {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: middle;
}

/* Artist Card */
.artist-card {
  position: relative;
  overflow: hidden;
}

.artist-image {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.artist-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.artist-card:hover .artist-image img {
  transform: scale(1.05);
}

.artist-info {
  padding: var(--space-md) var(--space-sm);
  text-align: center;
}

.artist-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 4px;
}

.artist-role {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice);
}

.artist-titles {
  font-size: 12px;
  color: var(--white-40);
  margin-top: 8px;
}

/* Production Card */
.production-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.production-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.production-card:hover img {
  transform: scale(1.08);
}

.production-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,7,12,0.95) 0%, rgba(7,7,12,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
}

.production-category {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.production-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
}

/* ============================================
   HERO SECTIONS
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-image.zoom {
  animation: slowZoom 20s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(7, 7, 12, 0.4) 0%, 
    rgba(7, 7, 12, 0.6) 50%, 
    rgba(7, 7, 12, 0.95) 100%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 200px rgba(0,0,0,0.8);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--space-lg);
}

/* Page Hero (shorter) */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.page-hero-content {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-40);
  margin-bottom: var(--space-md);
}

.breadcrumb a {
  color: var(--white-40);
  transition: color 0.3s;
}

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

.breadcrumb span {
  color: var(--white-60);
}

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

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

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,7,12,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Featured gallery layout */
.gallery-featured {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
}

.gallery-featured .gallery-item:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

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

footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--white-05);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  display: block;
  margin-bottom: var(--space-md);
}

.footer-desc {
  font-size: 14px;
  color: var(--white-40);
  line-height: 1.7;
  max-width: 300px;
}

.footer-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--white-40);
  transition: color 0.3s;
}

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

.footer-contact a {
  display: block;
  font-size: 14px;
  color: var(--white-40);
  margin-bottom: 8px;
  transition: color 0.3s;
}

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

.social-links {
  display: flex;
  gap: 12px;
  margin-top: var(--space-md);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white-10);
  color: var(--white-60);
  font-size: 14px;
  transition: all 0.3s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--white-05);
}

.footer-copy {
  font-size: 12px;
  color: var(--white-30);
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
}

.footer-legal a {
  font-size: 12px;
  color: var(--white-30);
  transition: color 0.3s;
}

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

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

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

.hidden { display: none; }
.visible { display: block; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  .footer-grid > div:first-child {
    grid-column: span 3;
    margin-bottom: var(--space-md);
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-featured {
    grid-template-columns: 1fr 1fr;
  }
  
  .event-card {
    grid-template-columns: 100px 1fr;
  }
  
  .event-card .btn {
    grid-column: span 2;
    justify-self: start;
    margin-top: var(--space-sm);
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 32px;
    --space-xl: 60px;
    --space-2xl: 80px;
  }
  
  .nav {
    padding: 16px 24px;
  }
  
  .container,
  .container-narrow {
    padding: 0 var(--space-md);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
  
  .footer-grid > div:first-child {
    grid-column: span 2;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-featured {
    grid-template-columns: 1fr;
  }
  
  .gallery-featured .gallery-item:first-child {
    grid-row: auto;
    aspect-ratio: 16/9;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .event-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .event-date {
    padding: var(--space-md);
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 20px;
  }

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

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* ============================================
   LANGUAGE TOGGLE (i18n)
   ============================================ */

.lang-toggle {
  display: flex;
  align-items: center;
  margin-left: 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  user-select: none;
}

.lang-toggle-btn {
  background: none;
  border: none;
  color: var(--white-40);
  padding: 8px 10px;
  cursor: pointer;
  transition: color 0.3s;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.lang-toggle-btn:hover {
  color: var(--white-60);
}

.lang-toggle-btn.active {
  color: var(--gold);
}

.lang-toggle-divider {
  color: var(--white-20);
  font-weight: 300;
}

/* Mobile language toggle */
.mobile-lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--space-md) 0;
  margin-top: var(--space-md);
  border-top: 1px solid var(--white-10);
}

.mobile-lang-toggle .lang-toggle-btn {
  font-size: 14px;
  padding: 12px 20px;
  border: 1px solid var(--white-10);
  transition: all 0.3s;
}

.mobile-lang-toggle .lang-toggle-btn:hover {
  border-color: var(--white-20);
}

.mobile-lang-toggle .lang-toggle-btn.active {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================
   GALLERY (foto + video) - modulo gsGallery
   ============================================ */

.gs-gallery {
  width: 100%;
}

.gs-gallery__status {
  text-align: center;
  color: var(--white-60);
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: var(--space-lg) 0;
  min-height: 1em;
}

.gs-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .gs-gallery__grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
  }
}

.gs-gallery__card {
  display: block;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--white-05);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  cursor: pointer;
}

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

.gs-gallery__thumb {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-darker);
}

.gs-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out), opacity 0.3s;
}

.gs-gallery__card:hover .gs-gallery__thumb img {
  transform: scale(1.04);
}

.gs-gallery__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.gs-gallery__meta {
  padding: var(--space-sm);
  border-top: 1px solid var(--white-05);
}

.gs-gallery__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 4px;
  color: var(--white);
}

.gs-gallery__artists {
  font-size: 13px;
  color: var(--ice);
  margin: 0;
  line-height: 1.4;
}

.gs-gallery__production {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}

.gs-gallery__sentinel {
  height: 1px;
}

.gs-gallery__load-more {
  display: block;
  margin: var(--space-lg) auto;
}

/* ============================================
   ARCHIVIO (archive.html) - layout a due colonne
   ============================================ */

.archive-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-top: 120px;
  padding-bottom: var(--space-2xl);
}

@media (min-width: 1024px) {
  .archive-layout {
    grid-template-columns: 280px 1fr;
    gap: var(--space-xl);
  }
}

.archive-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: var(--space-sm);
}

@media (max-width: 1023px) {
  .archive-sidebar {
    position: static;
    max-height: none;
  }
}

.filter-block {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--white-05);
}

.filter-block:last-child {
  border-bottom: none;
}

.filter-block__label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.filter-block__list {
  list-style: none;
  max-height: 260px;
  overflow-y: auto;
}

.filter-block__list li {
  margin-bottom: 6px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: transparent;
  color: var(--white-60);
  border: 1px solid var(--white-10);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.filter-chip:hover {
  border-color: var(--white-40);
  color: var(--white);
}

.filter-chip.is-active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 97, 0.1);
}

.filter-chip__count {
  font-size: 10px;
  color: var(--white-40);
}

.filter-search {
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--white-10);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.25s;
}

.filter-search::placeholder {
  color: var(--white-40);
}

.filter-search:focus {
  outline: none;
  border-color: var(--gold);
}

.filter-year-range {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.filter-year-range input {
  flex: 1;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid var(--white-10);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
}

.filter-year-range input:focus {
  outline: none;
  border-color: var(--gold);
}

.archive-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--white-05);
}

.archive-count {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-60);
}

.archive-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.active-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.active-filter-pill button {
  background: transparent;
  border: none;
  color: var(--gold);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
}

.archive-clear {
  background: transparent;
  border: none;
  color: var(--white-40);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.25s;
}

.archive-clear:hover {
  color: var(--white);
}

/* ============================================
   LIGHTBOX - esteso per la gallery
   ============================================ */
.gs-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gs-lightbox.open {
  display: flex;
  opacity: 1;
}

.gs-lightbox__media {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  background: #000;
}

.gs-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.gs-lightbox__caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white-80);
  text-align: center;
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.6);
  max-width: 80vw;
  font-size: 14px;
}

.gs-lightbox__caption strong {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}

.gs-lightbox__caption em {
  font-style: normal;
  color: var(--ice);
}
