@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Montserrat:wght@300;400;500&display=swap');

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

:root {
  --text: #1a1a1a;
  --text-light: #555;
  --bg: #fafafa;
  --spacing: clamp(4rem, 8vw, 8rem);
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(10px);
}

nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(2rem, 5vw, 5rem);
}

nav .logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}

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

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* Intro / About short */
.intro {
  padding: var(--spacing) 2rem 2rem;
}

.intro-text.centered {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.intro-text p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Button */
.btn {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  border: 1px solid var(--text);
  color: var(--text);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}

.btn:hover {
  background: var(--text);
  color: #fff;
}

/* Spectacles section */
#spectacles {
  padding: var(--spacing) clamp(2rem, 5vw, 5rem);
}

#spectacles > h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 3rem;
}

/* Spectacle list items */
.spectacles-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.spectacle-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  text-decoration: none;
  color: inherit;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
}

.spectacle-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
}

.spectacle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spectacle-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.spectacle-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.spectacle-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--text);
}

.spectacle-lieu {
  font-size: 0.85em;
  font-weight: 300;
  color: var(--text-light);
}

.spectacle-item .btn {
  flex-shrink: 0;
  padding: 0.7rem 1.8rem;
  font-size: 0.75rem;
}

/* Single page */
.single {
  max-width: 900px;
  margin: 0 auto;
  padding: calc(80px + 4rem) 2rem 4rem;
}

.single .cover {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  margin-bottom: 2rem;
}

.single h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.single .meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.single .content {
  font-size: 1.05rem;
  color: var(--text-light);
}

.single .content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}

.single .content ul, .single .content ol {
  margin: 1rem 0 1rem 1.5rem;
}

.single .content p { margin-bottom: 1rem; }

/* Spectacles page (grid) */
.spectacles-page {
  padding: calc(80px + 3rem) clamp(2rem, 5vw, 5rem) 4rem;
  min-height: 100vh;
}

.spectacles-page h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text);
  text-align: center;
  margin-bottom: 3rem;
}

.spectacles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.spectacle-card {
  text-align: center;
}

.spectacle-card .card-img {
  overflow: hidden;
  aspect-ratio: 3/4;
}

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

.spectacle-card:hover .card-img img {
  transform: scale(1.03);
}

.spectacle-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin-top: 1.2rem;
}

.spectacle-card .card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0.5rem 0 1.5rem;
  letter-spacing: 0.03em;
}

.btn-outline {
  display: inline-block;
  padding: 0.7rem 2.5rem;
  border: 1px solid var(--text);
  color: var(--text);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s;
}

.btn-outline:hover {
  background: var(--text);
  color: #fff;
}

/* Gallery section */
.gallery {
  padding: 2rem clamp(2rem, 5vw, 5rem);
}

.gallery h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

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

/* Footer */
footer {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-light);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* Menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }
  nav .logo {
    font-size: 1.1rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid #eee;
  }
  nav ul.open { display: flex; }
  nav a { font-size: 0.9rem; }
  .intro { grid-template-columns: 1fr; }
  .intro-img img { margin: 0 auto; }
  .spectacle-item { flex-wrap: wrap; }
  .spectacle-item .btn { width: 100%; text-align: center; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* Representations */
.representations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.lieu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 1.1rem;
  border: 1px solid #d5d5d5;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-light);
  text-decoration: none;
}

a.lieu-badge {
  border-color: var(--text);
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}

a.lieu-badge:hover {
  background: var(--text);
  color: #fff;
}

.lieu-badge .arrow {
  font-size: 0.75em;
}

/* Galerie spectacle (Splide) */
.galerie {
  margin-top: 3rem;
}

.galerie-solo {
  width: 100%;
  display: block;
}

#galerie-main .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}

#galerie-thumbs {
  margin-top: 0.5rem;
}

#galerie-thumbs .splide__slide {
  opacity: 0.45;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

#galerie-thumbs .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#galerie-thumbs .splide__slide.is-active,
#galerie-thumbs .splide__slide:hover {
  opacity: 1;
}

/* Teaser video */
.teaser {
  margin-top: 3rem;
}

.teaser h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
