/* ═══════════════════════════════════════════════
   ÉCLAT — Masterworks of the World
   style.css
═══════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --dark: #0d0b09;
  --charcoal: #1a1714;
  --mid: #2c2825;
  --text: #f0ebe3;
  --muted: #9e9589;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* Subtle film-grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  background: linear-gradient(to bottom, rgba(13,11,9,0.92), transparent);
  transition: background 0.4s;
}

nav.scrolled {
  background: rgba(13,11,9,0.97);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-decoration: none;
  z-index: 600;
}

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

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
}

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

/* ─── HAMBURGER BUTTON ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 600;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU OVERLAY ─── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,11,9,0.98);
  z-index: 550;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  transition: opacity 0.4s;
}

.mobile-menu.visible {
  opacity: 1;
}

.mobile-menu a {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  color: var(--text);
  text-decoration: none;
  transform: translateY(20px);
  opacity: 0;
  transition: color 0.3s, transform 0.4s, opacity 0.4s;
}

.mobile-menu.visible a          { transform: translateY(0); opacity: 1; }
.mobile-menu.visible a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.visible a:nth-child(2) { transition-delay: 0.16s; }
.mobile-menu.visible a:nth-child(3) { transition-delay: 0.24s; }
.mobile-menu.visible a:nth-child(4) { transition-delay: 0.32s; }

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

.mm-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

/* ═══════════════════════════════════════════════
   HERO — Split Slick Slideshow
   Original concept: Fabio Ottaviani (supah)
   codepen.io/supah/pen/zZaPeE
═══════════════════════════════════════════════ */
#hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #110101;
  font-family: "Roboto Condensed", sans-serif;
}

.split-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slideshow {
  position: absolute;
  z-index: 1;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slideshow .slider {
  width: 100vw;
  height: 100vh;
  z-index: 2;
}

.slideshow .slider * {
  outline: none;
}

.slideshow .slider .item {
  height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
}

.slideshow .slider .item img {
  min-width: 101%;
  min-height: 101%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Gradient so hero text is always readable */
.slideshow.slideshow-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13,11,9,0.6) 0%,
    rgba(13,11,9,0.25) 50%,
    transparent 100%
  );
  z-index: 10;
  pointer-events: none;
}

/* Slick navigation dots — right edge */
.slideshow .slick-dots {
  position: fixed;
  z-index: 300;
  width: 40px;
  height: auto;
  bottom: auto;
  top: 50%; right: 12px;
  transform: translateY(-50%);
  left: auto;
  display: block;
}

.slideshow .slick-dots li {
  display: block;
  width: 100%;
  height: auto;
}

.slideshow .slick-dots li button {
  position: relative;
  width: 20px;
  height: 15px;
  text-align: center;
}

.slideshow .slick-dots li button:before {
  content: "";
  background: #fff;
  height: 2px;
  width: 20px;
  border-radius: 0;
  position: absolute;
  top: 50%; right: 0; left: auto;
  transform: translateY(-50%);
  transition: all 0.3s ease-in-out;
  opacity: 0.5;
}

.slideshow .slick-dots li.slick-active button:before {
  width: 40px;
  opacity: 1;
  background: var(--gold);
}

/* Right mirror panel */
.slideshow.slideshow-right {
  left: 0;
  z-index: 1;
  width: 50vw;
  pointer-events: none;
}

.slideshow.slideshow-right .slider {
  left: 0;
  position: absolute;
}

/* Artwork title strip */
.slideshow-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  width: 100vw;
  text-align: center;
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 14px;
  pointer-events: none;
  margin-top: 170px;
}

.slideshow-text .item {
  font-size: clamp(14px, 2.2vw, 30px);
  opacity: 0.65;
  text-shadow: 0 1px 12px rgba(0,0,0,0.9);
}

/* Centred hero copy overlay */
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.45em;
  color: var(--gold);
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,1), 0 0 40px rgba(0,0,0,0.9);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,1), 0 0 40px rgba(0,0,0,0.9);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}

.hero-heading em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-weight: 300;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: rgba(240,235,227,0.7);
  max-width: 420px;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,1), 0 0 40px rgba(0,0,0,0.9);
  opacity: 0;
  animation: fadeUp 0.9s 1s forwards;
}

.hero-cta {
  pointer-events: all;
  display: inline-block;
  padding: 0.9rem 2.8rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,1), 0 0 40px rgba(0,0,0,0.9);
  transition: background 0.3s, color 0.3s;
  opacity: 0;
  animation: fadeUp 0.9s 1.2s forwards;
}

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

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

/* Animated scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fadeUp 1s 1.8s forwards;
  cursor: pointer;
  text-decoration: none;
}

.scroll-hint span {
  font-family: 'Cinzel', serif;
  font-size: 0.54rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}

.scroll-hint svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ─── SHARED SECTION STYLES ─── */
section {
  padding: 6rem 2rem;
}

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-title em {
  font-style: italic;
  color: var(--gold-light);
}

.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-bottom: 3rem;
}

/* ─── FOTORAMA GALLERY SECTION ─── */
#gallery {
  background: var(--charcoal);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.gallery-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

/* Fotorama theme overrides */
.fotorama__caption {
  background: linear-gradient(to top, rgba(13,11,9,0.95), transparent) !important;
  padding: 2rem !important;
}

.fotorama__caption__wrap {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-light) !important;
}

.fotorama__thumb-border { border-color: var(--gold) !important; }

.fotorama__arr {
  background: rgba(13,11,9,0.7) !important;
  border: 1px solid rgba(201,168,76,0.2) !important;
}

.fotorama__arr:hover { background: rgba(201,168,76,0.15) !important; }
.fotorama__arr__arr  { border-color: var(--gold) !important; }
.fotorama__dot       { background: var(--muted) !important; border-color: transparent !important; }
.fotorama__active .fotorama__dot { background: var(--gold) !important; }

/* Dynamic slide info panel */
.slide-info {
  text-align: center;
  margin-top: 1.5rem;
  min-height: 56px;
}

.slide-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
}

.slide-info p {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* ─── ACCORDION ─── */
#explore {
  background: var(--dark);
}

.accordion-container {
  max-width: 780px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid rgba(201,168,76,0.15);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  cursor: pointer;
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  text-align: left;
  transition: color 0.3s;
}

.accordion-header:hover {
  color: var(--gold-light);
}

.accordion-header .acc-icon {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion-header.active .acc-icon {
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

.accordion-body strong {
  color: var(--gold-light);
  font-weight: 400;
}

/* ─── QUOTE SECTION ─── */
.quote-section {
  background: var(--mid);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  text-align: center;
  padding: 5rem 2rem;
}

.quote-section blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
  color: var(--gold-light);
}

.quote-attr {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--muted);
}

/* ─── FOOTER ─── */
footer {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  border-top: 1px solid rgba(201,168,76,0.1);
}

footer span {
  color: var(--gold);
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav {
    padding: 1.2rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .slideshow-text {
    margin-top: 190px;
    letter-spacing: 8px;
  }
}