/* ================= RESET ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Poppins', sans-serif;
  background:#0b0b0b;
  color:white;
  overflow-x:hidden;
}

/* ================= BLUR OVERLAY ================= */
.blur-overlay{
  position:fixed;
  inset:0;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.55);
  z-index:2500;
  opacity:0;
  visibility:hidden;
  transition:0.3s ease;
}

.blur-overlay.active{
  opacity:1;
  visibility:visible;
}

/* ================= NAVBAR ================= */
.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 25px;
  position:sticky;
  top:0;
  z-index:1000;
  background:#0b0b0b;
  border-bottom:1px solid rgba(255,255,255,0.05);
}

.logo{
  height:80px;
  transition:0.3s;
}

.logo:hover{ transform:scale(1.05); }

#nav-links{
  display:flex;
  gap:20px;
  list-style:none;
  align-items:center;
}

#nav-links li a{
  color:white;
  text-decoration:none;
  font-size:15px;
  transition:0.3s;
}

#nav-links li a:hover{
  color:#ff4d6d;
}

/* BURGER */
.burger{
  display:none;
  font-size:24px;
  cursor:pointer;
}

/* CLOSE MOBILE */
.close-mobile{
  display:none;
  position:absolute;
  top:20px;
  right:20px;
  font-size:26px;
  cursor:pointer;
}
.logo{
  height:80px;
  width:auto;
  filter: brightness(0) invert(1);
  transition:0.3s;
}

.logo:hover{
  transform:scale(1.05);
}
/* ================= SLIDER (NETFLIX STYLE FIX) ================= */
.slider{
  position:relative;
  height:100vh;
  overflow:hidden;
}

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  transform:scale(1.05);
  transition:1s ease;
}

.slide.active{
  opacity:1;
  transform:scale(1);
}

.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(35%) contrast(120%);
}

/* FIX TEXT (IMPORTANT) */
.text{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  text-align:center;
  width:90%;
}

.text h1{
  font-size:60px;
  font-family:'Playfair Display', serif;
  animation:fadeUp 1s ease;
}

.text p{
  font-size:20px;
  margin-top:10px;
  animation:fadeUp 1s ease;
  opacity:0.85;
}

@keyframes fadeUp{
  from{opacity:0; transform:translateY(30px);}
  to{opacity:1; transform:translateY(0);}
}

/* BUTTONS SLIDER */
.prev, .next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(255,255,255,0.1);
  border:none;
  color:white;
  font-size:28px;
  padding:10px 16px;
  border-radius:50%;
  cursor:pointer;
  transition:0.3s;
}

.prev:hover, .next:hover{ background:#ff4d6d; }

.prev{left:20px;}
.next{right:20px;}

/* ================= MOBILE ================= */
@media(max-width:768px){
  .burger{display:block;}
  .close-mobile{display:block;}

  #nav-links{
    position:fixed;
    top:0;
    right:0;
    width:75%;
    height:100vh;
    flex-direction:column;
    background:#0b0b0b;
    transform:translateX(100%);
    transition:0.3s;
    padding:70px 20px;
    z-index:2000;
  }

  #nav-links.active{ transform:translateX(0); }

  .text h1{font-size:32px;}
  .text p{font-size:14px;}
}

/* ================= NEWS SECTION ================= */
.news-section{
  padding:80px 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.news-header{
  text-align:center;
  margin-bottom:40px;
  width:100%;
  max-width:900px;
}

/* GRID DESKTOP 3 COLONNES */
.news-container{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:25px;
  width:100%;
  max-width:1100px;
}

/* TABLET */
@media(max-width:1024px){
  .news-container{
    grid-template-columns:repeat(2, 1fr);
  }
}

/* MOBILE */
@media(max-width:768px){
  .news-container{
    grid-template-columns:1fr;
  }
}

/* CARD */
.news-card{
  height:520px;
  border-radius:22px;
  overflow:hidden;
  position:relative;
  cursor:pointer;
  transition:0.4s;
}

.news-card:hover{
  transform:translateY(-10px);
}

.news-card img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* OVERLAY */
.news-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  background:linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
}

/* ================= POPUP ================= */
.news-popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.92);
  display:flex;
  justify-content:center;
  align-items:center;
  opacity:0;
  visibility:hidden;
  transition:0.4s ease;
  z-index:3000;
}

.news-popup.active{
  opacity:1;
  visibility:visible;
}

.popup-content{
  width:95%;
  max-width:750px;
  animation:zoomIn 0.3s ease;
}

@keyframes zoomIn{
  from{transform:scale(0.8); opacity:0;}
  to{transform:scale(1); opacity:1;}
}

/* ================= TIKTOK SCROLL OPTION ================= */
.news-container.scroll-mode{
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  gap:20px;
}

.news-container.scroll-mode .news-card{
  min-width:85%;
  scroll-snap-align:center;
}

/* ================= BOUTON RESERVER (AJOUTÉ PROPREMENT) ================= */

.reserve-btn{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  
  padding:12px 25px;
  border:none;
  border-radius:30px;
  background:#ff4d6d;
  color:white;
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  opacity:0;
  transition:0.3s ease;
  z-index:10;
}

/* effet hover image */
.news-card:hover img{
  filter:brightness(0.5);
  transform:scale(1.05);
  transition:0.4s ease;
}

/* bouton apparaît au hover */
.news-card:hover .reserve-btn{
  opacity:1;
}

.footer{
  background:#0b0b0b;
  color:white;
  padding:60px 20px 25px;
  border-top:1px solid rgba(255,255,255,0.08);
}

.footer-container{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:40px;
  max-width:1100px;
  margin:auto;
  flex-wrap:wrap;
}

/* LEFT */
.footer-left h2{
  font-size:26px;
  margin-bottom:10px;
  display:flex;
  align-items:center;
  gap:10px;
}

.footer-left p{
  opacity:0.7;
}

/* CENTER */
.footer-center p{
  margin:12px 0;
  font-size:15px;
  display:flex;
  align-items:center;
  gap:10px;
}

.footer-center a{
  color:white;
  text-decoration:none;
  transition:0.3s;
}

.footer-center a:hover{
  color:#ff4d6d;
  text-shadow:0 0 10px #ff4d6d;
}

/* RIGHT BUTTON */
.top-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 18px;
  border-radius:25px;
  background:#ff4d6d;
  color:white;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.top-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 0 15px rgba(255,77,109,0.5);
}

/* BOTTOM */
.footer-bottom{
  text-align:center;
  margin-top:40px;
  font-size:13px;
  opacity:0.6;
}