@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Lato:wght@300;400&display=swap');

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

:root {
  --bg:       #111010;
  --bg2:      #1c1b1b;
  --gold:     #c9a96e;
  --text:     #e8e3da;
  --text-dim: #6a6560;
  --gap:      3px;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { border: 0; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--text); }
figure { display: block; }
figcaption { display: none; }
ul, ol { list-style: none; }
strong { font-weight: 600; }
p { margin: 0 0 .75rem; }

/* ── Header ── */
h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  letter-spacing: .06em;
  padding: 3rem 1rem .6rem;
  color: var(--text);
}
h1 a { color: var(--text); }
h1 a:hover { color: var(--gold); }
h1::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: .9rem auto 0;
  opacity: .7;
}

/* ── Container / layout ── */
.container { width: 100%; }
.content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem 5rem;
}

/* ── Breadcrumb ── */
#breadcrumb {
  font-size: .78rem;
  color: var(--text-dim);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
#breadcrumb a { color: var(--text-dim); }
#breadcrumb a:hover { color: var(--gold); }
#breadcrumb li { display: inline; }
#breadcrumb li + li::before { content: '  ›  '; }

/* ── Album grid (sub-folders) ── */
.album-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
  background: none;
  float: none;
  padding: 0 0 2.5rem;
  width: auto;
  margin: 0;
}

.menu-img {
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  aspect-ratio: 4/3;
  float: none;
  width: auto;
  margin-bottom: 0;
}
.menu-img a { display: block; width: 100%; height: 100%; line-height: 0; }
.menu-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
  filter: brightness(.8) saturate(.85);
}
.menu-img:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1);
}
.album_title {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .7rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-style: italic;
  color: #fff;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.album_thumb { border: none !important; box-shadow: none !important; }

/* ── Photo grid ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gap);
  float: none;
  width: auto;
  height: auto;
  padding-top: 0;
}
.gallery a { line-height: 0; }

.thumbnail,
.gallery__img--main,
.gallery__img--secondary {
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  aspect-ratio: 4/3;
  float: none;
  width: auto;
  margin-bottom: 0;
  text-align: left;
}
.thumbnail a { display: block; width: 100%; height: 100%; line-height: 0; }
.thumbnail img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-width: none;
  border: none; box-shadow: none; padding: 0; margin: 0;
  transition: transform .35s ease, filter .35s ease;
  filter: brightness(.88) saturate(.9);
}
.thumbnail:hover img {
  transform: scale(1.05);
  filter: brightness(1) saturate(1.05);
}
.thumbnail img:hover { box-shadow: none; }

/* ── Videos (hidden inline, open in lightbox) ── */
.video { display: none; }

/* ── Footer ── */
footer {
  float: none;
  width: auto;
  margin-top: 4rem;
  border-top: 1px solid #222;
  padding-top: 1.5rem;
}
footer p {
  text-align: center;
  font-size: .72rem;
  color: var(--text-dim);
  letter-spacing: .04em;
}
footer span:not(:last-child)::after { content: '  ·  '; }

/* ── Misc ── */
.additionnal-infos { display: none; }
#menu { display: none; }

/* ── PhotoSwipe ── */
.pswp__bg { background: #000; }
.pswp__dynamic-caption {
  color: #fff;
  position: absolute;
  width: 100%; left: 0; top: 0;
  transition: opacity 120ms linear !important;
}
.pswp-caption-content { display: none; }
.pswp__dynamic-caption a { color: #fff; }
.pswp__dynamic-caption--faded { opacity: 0 !important; }
.pswp__dynamic-caption--aside {
  width: auto; max-width: 300px;
  padding: 20px 15px 20px 20px;
  margin-top: 70px;
}
.pswp__dynamic-caption--below {
  width: auto; max-width: 700px;
  padding: 15px 0 0;
}
.pswp__dynamic-caption--on-hor-edge { padding-left: 15px; padding-right: 15px; }
.pswp__dynamic-caption--mobile {
  width: 100%;
  background: rgba(0,0,0,.5);
  padding: 10px 15px;
  right: 0; bottom: 0;
  top: auto !important; left: 0 !important;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .album-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .gallery { grid-template-columns: 1fr; }
  .album-list { grid-template-columns: 1fr; }
}
