/* ════════════════════════════════════════
   Galerie Gomis — shared stylesheet
   ════════════════════════════════════════ */

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

:root {
  --black: #111111;
  --white: #ffffff;
  --grey: #888888;
  --light: #f4f4f2;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --header-h: 130px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8e8e8;
  padding: 0 40px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--black);
}

.logo img {
  height: 108px;
  width: auto;
  display: block;
}

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

nav a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  transition: color 0.2s;
}

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

.nav-lang {
  border-left: 1px solid #ddd;
  padding-left: 24px;
  margin-left: 8px;
  display: flex;
  gap: 12px;
}

.lang-btn {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--grey);
  transition: color 0.2s;
  text-decoration: none;
}

.lang-btn.active, .lang-btn:hover { color: var(--black); }

/* ── MAIN ── */
main { padding-top: var(--header-h); }

/* ── HOLDING NOTICE ── */
.coming-soon-banner {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 18px 24px;
  background: var(--white);
  border-bottom: 1px solid #e8e8e8;
}

/* ── FEATURED EXHIBITIONS (alternating) ── */
.featured-list { display: block; }

.featured {
  display: flex;
  min-height: calc(100vh - var(--header-h));
  border-bottom: 1px solid #e8e8e8;
}

.featured:last-child { border-bottom: none; }

.featured.reverse { flex-direction: row-reverse; }

.featured-image {
  flex: 1;
  overflow: hidden;
  background: var(--light);
  position: relative;
}

.featured-image a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease, opacity 0.3s ease;
  display: block;
}

.featured-image a:hover img {
  transform: scale(1.025);
}

.featured-text {
  flex: 1;
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.featured-status {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 28px;
}

.featured-status.on-view { color: #4a7c59; }
.featured-status.upcoming { color: #7a6040; }

.featured-artist {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.featured-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  color: #555;
  margin: 0 0 28px;
}

.featured-title em { font-style: italic; }

.featured-venue {
  font-size: 12px;
  font-style: italic;
  color: var(--grey);
  margin: 0 0 4px;
}

.featured-dates {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--grey);
  margin: 0;
}

.featured-credit {
  font-size: 11px;
  font-style: italic;
  color: var(--grey);
  margin-top: 8px;
}

/* ── ABOUT ── */
.about-section {
  padding: 120px 40px;
  background: var(--white);
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 32px;
  text-align: center;
}

.about-body {
  font-size: 15px;
  line-height: 1.85;
  color: #333;
  margin-bottom: 24px;
  font-weight: 300;
  text-align: center;
}

.inquiry-wrap {
  text-align: center;
  margin-top: 48px;
}

.inquiry-cta {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border: 1px solid var(--black);
  padding: 14px 28px;
  transition: background 0.2s, color 0.2s;
}

.inquiry-cta:hover { background: var(--black); color: var(--white); }

.inquiry-email {
  text-align: center;
  margin-top: 18px;
  font-size: 12px;
  color: var(--grey);
  font-style: italic;
}

.inquiry-email a {
  color: var(--grey);
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.inquiry-email a:hover {
  color: var(--black);
  border-bottom-color: var(--black);
}

/* ── ARTISTS LIST (home page) ── */
.artists-section {
  padding: 120px 40px;
  background: var(--light);
}

.artists-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow-spaced { margin-top: 80px; }

.artists-names {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 300;
  line-height: 2.1;
  text-align: center;
  color: var(--black);
  margin: 0;
}

.artists-names a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.artists-names a:hover {
  color: #444;
  border-bottom-color: #444;
}

.see-all {
  margin-top: 56px;
  text-align: center;
}

.link-arrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 4px;
  transition: opacity 0.2s;
}

.link-arrow:hover { opacity: 0.6; }

/* ── STAY IN TOUCH ── */
#newsletter {
  background: var(--white);
  color: var(--black);
  padding: 100px 40px;
  text-align: center;
  border-top: 1px solid #e8e8e8;
}

.newsletter-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  gap: 0;
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: 1px solid #ccc;
  border-right: none;
  padding: 14px 20px;
  font-size: 12px;
  color: var(--black);
  outline: none;
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.04em;
  transition: border-color 0.2s;
}

.newsletter-input::placeholder { color: #aaa; }
.newsletter-input:focus { border-color: var(--black); }

.newsletter-submit {
  background: var(--black);
  border: 1px solid var(--black);
  color: var(--white);
  padding: 14px 24px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 300;
  transition: background 0.2s, color 0.2s;
}

.newsletter-submit:hover { background: transparent; color: var(--black); }

.newsletter-note {
  font-size: 10px;
  color: var(--grey);
  margin-top: 16px;
  letter-spacing: 0.04em;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
}

.social-icons a {
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.social-icons a:hover { opacity: 0.55; }

.social-icons svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* ── MINIMAL FOOTER ── */
.minimal-footer {
  background: var(--white);
  border-top: 1px solid #e8e8e8;
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-logo-link img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-copy {
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 0.06em;
}

.footer-contact-link {
  font-size: 11px;
  color: var(--grey);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-contact-link:hover { color: var(--black); }

/* ── LANGUAGE TOGGLE ── */
[data-lang="fr"] { display: none; }
body.fr [data-lang="en"] { display: none; }
body.fr [data-lang="fr"] { display: block; }
body.fr span[data-lang="fr"] { display: inline; }
body.fr span[data-lang="en"] { display: none; }

/* ── FADE IN ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── ARTISTS PAGE — SPLIT LAYOUT ── */
.artists-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 60px 80px;
  min-height: auto;
}

.artists-slideshow {
  position: relative;
  background: var(--white);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-height: 75vh;
  margin: 0;
  grid-column: 2;
  grid-row: 1;
}

.art-slide {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--white);
  opacity: 0;
  animation: artSlideFade 42s infinite;
}

.art-slide:nth-child(1) { animation-delay: 0s; }
.art-slide:nth-child(2) { animation-delay: 6s; }
.art-slide:nth-child(3) { animation-delay: 12s; }
.art-slide:nth-child(4) { animation-delay: 18s; }
.art-slide:nth-child(5) { animation-delay: 24s; }
.art-slide:nth-child(6) { animation-delay: 30s; }
.art-slide:nth-child(7) { animation-delay: 36s; }

@keyframes artSlideFade {
  0%   { opacity: 0; }
  2%   { opacity: 1; }
  14%  { opacity: 1; }
  17%  { opacity: 0; }
  100% { opacity: 0; }
}

.artists-list-pane {
  padding: 0;
  display: block;
  grid-column: 1;
  grid-row: 1;
}

.list-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--grey);
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8e8e8;
}

.list-eyebrow-spaced { margin-top: 56px; }

.artist-name-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 40px;
}

.artist-name-list li {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 300;
  line-height: 1.9;
  color: var(--black);
  break-inside: avoid;
}

.artist-name-list.exhibited li {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 2;
  color: #333;
}

.artist-name-list li[data-portrait] {
  cursor: default;
  transition: color 0.2s;
}

.artist-name-list li[data-portrait]:hover { color: #666; }

.artist-portrait {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: var(--light);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 3;
}

.artist-portrait.visible { opacity: 1; }

/* ── EXHIBITION DETAIL PAGE ── */
.exhibition-detail {
  padding: 60px 40px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--grey);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
  color: var(--black);
  border-bottom-color: var(--black);
}

.detail-header {
  text-align: center;
  margin-bottom: 60px;
}

.detail-status {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4a7c59;
  margin-bottom: 24px;
}

.detail-artist {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  line-height: 1.05;
}

.detail-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-style: italic;
  font-weight: 300;
  color: #555;
  margin: 0 0 24px;
}

.detail-meta {
  font-size: 12px;
  color: var(--grey);
  line-height: 1.9;
}

.detail-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 60px;
}

.detail-tabs a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--grey);
  padding: 16px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.detail-tabs a.active, .detail-tabs a:hover {
  color: var(--black);
  border-bottom-color: var(--black);
}

.detail-hero-image {
  margin-bottom: 60px;
  background: var(--light);
}

.detail-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.85;
  color: #333;
}

.detail-body p { margin-bottom: 20px; }

.detail-placeholder {
  text-align: center;
  padding: 60px 0;
  color: var(--grey);
  font-style: italic;
  font-size: 13px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  :root { --header-h: 88px; }
  header { padding: 0 20px; }
  .logo img { height: 70px; }
  nav { gap: 16px; }

  .featured, .featured.reverse {
    flex-direction: column;
    min-height: auto;
  }
  .featured-image {
    width: 100%;
    aspect-ratio: auto;
    background-color: var(--light);
  }
  .featured-image img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
  }
  .featured-text { padding: 48px 24px 64px; }

  .about-section, .artists-section, #newsletter { padding: 80px 24px; }

  .artists-split {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0;
    gap: 0;
  }
  .artists-slideshow {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 1 / 1;
    height: auto;
    max-width: 75%;
    min-height: 280px;
    margin: 32px auto 8px;
  }
  .artists-list-pane {
    grid-column: 1;
    grid-row: 2;
    padding: 32px 24px 64px;
  }
  .artist-name-list {
    columns: 1;
  }

  .minimal-footer { flex-direction: column; gap: 16px; text-align: center; padding: 24px 20px; }
}

@media (max-width: 600px) {
  nav { gap: 14px; }
  nav a { font-size: 10px; }
}
