/* =====================================================
   RESET
===================================================== */
:root {
    --antiflash-white: rgba(239, 239, 239, 1);
    --byzantine-blue: rgba(52, 84, 209, 1);
    --turquoise: rgba(52, 209, 191, 1);
    --black: rgba(7, 7, 7, 1);
    --cerise: rgba(209, 52, 91, 1);
    --yellow: rgba(255,212,126,.8);
}
.yellow{
  color: var(--yellow);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
  background: #000;
  color: #fff;
  font-family: system-ui, sans-serif;
}
button {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  text-transform: uppercase;
  color: #484848;
  font-family: 'futura_ltbold', sans-serif;
}
p{
  font-family: 'futura_ltbold', sans-serif;
  text-transform: uppercase;
  color: #484848;
}
/* =====================================================
   HERO
===================================================== */
#hero{
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.5)), url('/mod_poi/img/hebergements.jpg') center center / cover no-repeat; 
    height: 500px;
}
#hero h2{
    margin-top: 10rem;
    font-size: 2.5rem;
}

/* Style du menu d’icônes */
.icon-menu {
  margin-top: 4.5rem;  
  display: flex;  
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

#hero .icon-menu a {
    color: #fff; /* texte et icônes blancs */
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

#hero .icon-menu a i {
    font-size: 1.8rem; /* taille des icônes */
    margin-bottom: 5px;
}

/* Effet hover */
#hero .icon-menu a:hover {
    color: #ffc107; /* jaune Bootstrap */
    transform: translateY(-5px);
}
.icon-menu i{
    -webkit-text-stroke: 1px white;
    color: transparent;
}
.text-outline {
  font-weight: 800;
  letter-spacing: 3px;
}

/* =====================================================
   SECTIONS
===================================================== */
section {
  min-height: 100vh;
  width: 100%;
  position: relative;
}

/* HERO */
/*.hero {
  background: #2e3133;
  display: grid;
  place-items: center;
}*/

/* GALLERY */
.gallery-section {
  background: #111;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}
.gallery-title {
  position: absolute;
  top: 5rem;                 /* distance du haut */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: clamp(1.8rem, 4vw, 3rem);
  pointer-events: none;      /* 🔑 n’intercepte pas la wheel */
  text-align: center;
  white-space: nowrap;
}
.gallery-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 2px;
  margin: 1rem auto 0;
  background: rgba(255,255,255,.3);
}

/* horizontal track */
.track {
  display: flex;
  margin-top: 5.5rem;
  padding: 0 10vw;
  will-change: transform;
}

.track li {
  list-style: none;
  flex: 0 0 auto;
  will-change: transform, opacity;
  transition: filter 0.2s ease;
  position: relative;
}
.track li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.8),
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.8)
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  border-radius: 16px; /* même rayon que l’image */
}
.track li:hover::after {
  opacity: 1;
}


.track img {
  width: 280px;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}

.card-label {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.track li:hover .card-label {
  opacity: 1;
  z-index: 2;
}



/* =====================================================
   GALLERY ARROWS — FONT AWESOME
===================================================== */
.gallery-arrows {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 20;
}

.gallery-arrows .arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.45);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
  z-index: 30  
}

.gallery-arrows .arrow i {
  pointer-events: none; /* 🔑 important */
}

.gallery-arrows .arrow:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.8);
  transform: scale(1.1);
}

.gallery-arrows .arrow:active {
  transform: scale(0.95);
}

/* option : discret au repos */
.gallery-arrows {
  opacity: 0.6;
}

.gallery-section:hover .gallery-arrows {
  opacity: 1;
}

/* mobile : on masque */
@media (max-width: 768px) {
  .gallery-arrows {
    display: none;
  }
}

