/* ==========================================================================
   Natasha Krenbol - Site responsive
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #111;
  text-decoration: none;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
}

.site-title {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: #202020;
  letter-spacing: 4px;
  text-transform: lowercase;
}

.site-title a {
  color: #242323;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  font-size: 11px;
  letter-spacing: 3px;
  color: #555252;
  text-transform: lowercase;
}

.lang-switch:hover {
  color: #1b1b1b;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

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

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

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

.main-nav {
  background: #5c5037;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-list li a {
  display: block;
  padding: 10px 16px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: none;
  border-left: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s;
}

.nav-list li:last-child a {
  border-right: 1px solid rgba(255,255,255,0.2);
}

.nav-list li a:hover,
.nav-list li a.active {
  background: rgba(255,255,255,0.15);
}

/* ==========================================================================
   Main Content
   ========================================================================== */

.main-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* ==========================================================================
   Accueil (Home)
   ========================================================================== */

.hero-section {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: start;
}

.hero-image img {
  width: 100%;
  max-width: 320px;
}

.hero-text h2 {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: normal;
  color: #111;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-text p {
  font-size: 14px;
  text-align: justify;
  margin-bottom: 12px;
  line-height: 1.7;
}

.hero-text .signature {
  text-align: right;
  font-style: normal;
  margin-top: 20px;
}

.dedication {
  font-style: italic;
  margin-top: 30px;
  text-align: center;
  color: #666;
}

/* Citation block */
.citation {
  margin: 40px 0;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
}

.citation-image img {
  width: 100%;
  max-width: 320px;
}

.citation-text {
  font-size: 14px;
  line-height: 1.7;
}

.citation-text blockquote {
  font-style: italic;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.7;
}

.citation-text blockquote .attribution {
  display: block;
  text-align: right;
  font-style: normal;
  margin-top: 8px;
  font-size: 13px;
}

/* CV section */
.cv-section {
  margin-top: 60px;
}

.cv-section h3 {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #111;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
}

.cv-entry {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 14px;
}

.cv-year {
  text-align: right;
  font-weight: bold;
  color: #555;
}

.cv-detail p {
  margin-bottom: 4px;
}

/* Critical texts */
.critical-text {
  margin: 60px 0;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
}

.critical-text-content {
  font-size: 14px;
  line-height: 1.7;
}

.critical-text-content h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
}

.critical-text-content p {
  margin-bottom: 12px;
  text-align: justify;
}

.critical-text-content .author {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: bold;
}

.critical-text-content .author-title {
  font-size: 14px;
  font-style: italic;
  color: #111;
  margin-bottom: 2px;
}

.critical-text-content .author-link {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 5px;
}

.critical-text-content .author-link a {
  color: #111;
  text-decoration: none;
}

.critical-text-content .author-link a:hover {
  color: #514428;
}

/* ==========================================================================
   Gallery Grid
   ========================================================================== */

.gallery-header {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-header h2 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 4px;
  color: #333;
  margin-bottom: 12px;
}

.gallery-header p {
  font-size: 14px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.gallery-description {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 14px;
  line-height: 1.7;
  text-align: justify;
  color: #444;
}

.gallery-description p {
  margin-bottom: 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

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

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

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

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  padding: 20px 12px 12px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.overlay .title {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  display: block;
}

.overlay .info {
  font-size: 10px;
  opacity: 0.8;
  margin-top: 4px;
  display: block;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2001;
  line-height: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.lightbox-caption {
  color: #ccc;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  letter-spacing: 1px;
}

.lightbox-caption .lb-title {
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
}

.lightbox-caption .lb-info {
  font-size: 12px;
  color: #999;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 20px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

/* ==========================================================================
   Contact
   ========================================================================== */

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

.contact-image img {
  max-width: 350px;
  width: 100%;
}

.contact-place {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #111;
}

.contact-address {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.6;
  color: #111;
}

.contact-mail {
  font-size: 16px;
  letter-spacing: 3px;
  margin-top: 4px;
  margin-bottom: 8px;
  color: #111;
}

.contact-info a {
  color: #111;
  text-decoration: none;
  border: none;
}

.contact-info a:hover {
  color: #514428;
}

.contact-downloads {
  margin-top: 40px;
}

.contact-downloads a {
  display: block;
  font-size: 14px;
  font-style: italic;
  letter-spacing: 3px;
  margin-bottom: 8px;
  color: #111;
  border: none;
}

/* ==========================================================================
   Editions
   ========================================================================== */

.edition-top {
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #eee;
}

.edition-top h3 {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 20px;
}

.edition-top h3 em {
  font-size: 22px;
  font-weight: bold;
  font-style: italic;
}

.edition-top-body {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.edition-top-body img {
  width: 280px;
  flex-shrink: 0;
  height: auto;
}

.edition-top-body p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.edition-credits {
  font-style: italic;
  color: #666;
}

.edition-link {
  margin-top: 8px;
}

.edition-link a {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 4px;
  color: #111;
  text-decoration: none;
}

.edition-link a:hover {
  color: #514428;
}

.cd-title {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 20px;
}

.cd-section {
  display: flex;
  flex-direction: column;
  grid-template-columns: auto !important;
  gap: 20px !important;
  align-items: flex-start;
}

.edition-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #eee;
  align-items: start;
}

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

.edition-block img {
  width: 100%;
  max-width: 280px;
}

.edition-block h3 {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 12px;
}

.edition-block p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.edition-covers {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.edition-covers img {
  max-width: 220px;
  height: auto;
}

.cd-covers {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

.cd-covers img {
  max-width: 760px;
  width: 100%;
  height: auto;
}

.theatre-section {
  display: flex;
  flex-direction: column;
  grid-template-columns: auto !important;
  gap: 20px !important;
  align-items: flex-start;
}

.theatre-section h3 {
  margin-bottom: 4px;
}

.theatre-section p {
  margin-bottom: 20px;
  font-size: 14px;
}

.theatre-covers {
  display: flex;
  flex-direction: row;
  gap: 15px;
  flex-wrap: wrap;
  width: 100%;
}

.theatre-covers img {
  max-width: calc(25% - 12px);
  height: auto;
  flex: 1;
  min-width: 150px;
}

/* ==========================================================================
   Video
   ========================================================================== */

.video-section h2 {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 24px;
  color: #333;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin-bottom: 24px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-description {
  max-width: 900px;
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  text-align: center;
  padding: 30px 24px;
  margin-top: 60px;
  border-top: 1px solid #eee;
  font-size: 11px;
  color: #999;
  letter-spacing: 2px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #514428;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .main-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-list li a {
    border-left: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 14px 24px;
    font-size: 13px;
    letter-spacing: 3px;
  }

  .nav-list li:last-child a {
    border-right: none;
  }

  .site-title {
    font-size: 20px;
    letter-spacing: 3px;
  }

  .hero-section,
  .citation,
  .critical-text {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-image,
  .citation-image,
  .critical-text > *:first-child {
    text-align: center;
  }

  .hero-image img,
  .citation-image img {
    margin: 0 auto;
    max-width: 280px;
  }

  .cv-entry {
    grid-template-columns: 80px 1fr;
    gap: 10px;
    font-size: 13px;
  }

  .main-content {
    padding: 24px 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
  }

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

  .edition-block {
    grid-template-columns: 1fr;
  }

  .edition-block img {
    max-width: 100%;
  }

  .lightbox-nav {
    font-size: 28px;
    padding: 12px;
  }

  .lightbox-prev {
    left: 4px;
  }

  .lightbox-next {
    right: 4px;
  }
}

@media screen and (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .header-top {
    padding: 10px 16px;
  }

  .site-title {
    font-size: 16px;
    letter-spacing: 2px;
  }
}
