/* ============ Reset ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* Logo fixe en haut à gauche, présent sur toutes les pages */
.site-logo {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 100;            /* au-dessus de tout, même de la vidéo et du menu */
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-logo img {
  display: block;
  height: 48px;            /* ajuste selon ton logo */
  width: auto;
}

.site-logo:hover,
.site-logo:focus-visible {
  transform: scale(1.05);
  opacity: 0.9;
  outline: none;
}

@media (max-width: 900px) {
  .site-logo {
    top: 1rem;
    left: 1rem;
  }
  .site-logo img {
    height: 36px;
  }
}
:root {
  --bg: #1c1818;          /* noir teinté brun, plus chaud que #000 */
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.75);
  --btn-bg: #0a0a0a;
  --radius-img: 18px;
  --radius-btn: 12px;
  --max-width: 1280px;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

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

/* ============ Navigation ============ */
.main-nav {
  width: 100%;
  padding: 2.5rem 4rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.main-nav a {
  color: var(--text);
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  opacity: 0.55;                 /* liens inactifs plus discrets */
  transition: opacity 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  opacity: 1;
  outline: none;
}

/* ============ Page Photo : rows ============ */
.page-photo {
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  gap: 7rem;
}

.gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 4rem;
}

/* Bloc texte */
.gallery-row__text {
  max-width: 460px;
}

.gallery-row__text h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.gallery-row__text p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* Bloc média */
.gallery-row__media img {
  width: 100%;
  border-radius: var(--radius-img);
  object-fit: cover;
  aspect-ratio: 4 / 3;            /* ajuste selon le vrai ratio de tes photos */
}

/* Variante : texte à droite (le média prend la colonne gauche) */
.gallery-row--text-right .gallery-row__text {
  order: 2;
}
.gallery-row--text-right .gallery-row__media {
  order: 1;
}

/* L'auto-portrait est plus "portrait" sur ta maquette */
.gallery-row--text-right .gallery-row__media img {
  aspect-ratio: 3 / 4;
}

/* ============ Bouton ============ */
.btn {
  display: inline-block;
  background: var(--btn-bg);
  color: var(--text);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: #000;
  transform: translateY(-1px);
  outline: none;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .main-nav {
    padding: 1.5rem;
  }
  .main-nav ul {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  .main-nav a {
    font-size: 1rem;
  }

  .page-photo {
    padding: 2.5rem 0;
    gap: 4rem;
  }

  .gallery-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  /* En mobile, on remet le texte au-dessus pour les deux variantes */
  .gallery-row--text-right .gallery-row__text {
    order: 2;
  }
  .gallery-row--text-right .gallery-row__media {
    order: 1;
  }

  .gallery-row__text h2 {
    font-size: 1.75rem;
  }
    
}
