/* =========================
   RESET
========================= */

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

html{
  scroll-behavior:smooth;
  overflow-x: hidden;
}

body{
  background:#F4F0E8;
  color:#353535;
  font-family:'Montserrat',sans-serif;
  overflow-x:hidden;
}


/* =========================
 VARIABLES
========================= */

:root{

  --olive:#6F7D55;

  --olive-light:#85916D;

  --wood:#8C6A43;

  --cream:#F4F0E8;

  --dark:#2C3226;

}


/* =========================
 CONTAINER
========================= */

.container{

  width:min(1200px,90%);
  margin:auto;

}


/* =========================
 NAVBAR
========================= */

.navbar{

  position:absolute;
  top:0;
  left:0;
  width:100%;
  z-index:100;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:30px 5%;
}

.logo{
  color:white;
  font-weight:600;
  text-align: left;
}

.navbar ul{
  display:flex;
  gap:40px;
  list-style:none;
  align-items: center;
}

.navbar a{
  color:white;
  text-decoration:none;
  font-size:0.95rem;
  transition:.3s;
}

.navbar a:hover{
  opacity:.7;
}

.btn-menu{
  margin-top: 0 !important;
  font-weight: bold;
}



.playwrite-logo {
  font-style: normal;
  font-size:1.5rem;
  line-height: 26px;
  font-family: "Playwrite CA", cursive;

}

.span-logo {
  font-style: normal;
  font-size:0.9rem;
  margin-left:60px
}


.chapeau {
  font-size: 0.5rem;
  vertical-align: super;
  margin-left: -10px;
  margin-right: -10px;
  color: var(--olive);
  display:none;
}


/* =========================
 HERO
========================= */

.hero{
  position:relative;
  background: url('../img/cabane-hero.jpg') center center/cover;
  background-attachment: fixed;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:105dvh;
  
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
  rgba(0,0,0,.25);
}

.hero-content{
  position:relative;
  z-index:200;
  max-width:900px;
  color:white;
  flex: 1;
  animation: fadeUp 2s ease forwards;
  opacity: 0;
  padding:100px 0 !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


.hero-tag{
  display:inline-block;
  background:
  rgba(255,255,255,.15);
  backdrop-filter:blur(8px);
  padding:10px 18px;
  border-radius:50px;
  margin-bottom:25px;
  letter-spacing:1px;
  font-size:.9rem;
}

.hero h1{
  font-family:'Cormorant Garamond', serif;
  font-size: clamp(3rem,7vw,6rem);
  line-height:1;
  margin-bottom:30px;
}

.hero p{
  font-size:1.5rem;
  max-width:650px;
  margin:auto;
}

.btn-primary{
  display:inline-block;
  margin-top:45px;
  background:var(--olive);
  color:white;
  padding:16px 32px;
  border-radius:50px;
  text-decoration:none;
  transition:.4s;
}

.btn-primary:hover{
  background: var(--olive-light);
  transform: translateY(-3px);
}


/* =========================
 SCROLL ICON
========================= */

.scroll-indicator{

  position:absolute;

  bottom:40px;

  left:50%;

  transform:translateX(-50%);

  color:white;

  font-size:2rem;

  animation:
  bounce 2s infinite;

}

@keyframes bounce{

0%,100%{
transform:
translate(-50%,0);
}

50%{
transform:
translate(-50%,10px);
}

}






/* =========================
 SECTION TITLES
========================= */

.section-subtitle{
  display:block;
  color:var(--olive);
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:.8rem;
  margin-bottom:10px;

}

h2{
  font-family:'Cormorant Garamond',
  serif;
  font-size: clamp(2.5rem,5vw,3rem);
  color:var(--dark);
  margin-bottom:25px;
}

/* =========================
 séparateur
========================= */

.separator{

  position:relative;
  margin-top:-130px;
  line-height:0;
  z-index:10;
  width: 100%;
  overflow: hidden;

}

.separator img{
  height:auto;
  display: block;
  height: auto;
  width: 120%;
  margin-left: -5%;
}

/* =========================
 STORY
========================= */

.story-section {
  margin-top: -45px;
  position: relative;
  z-index: 100;
}

.story-section .container{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:80px;
  align-items:center;
}

.story-text p{
  margin-bottom:20px;
  font-size:1.05rem;
}


/* =========================
 POLAROIDS
========================= */

.polaroid-group{

  position:relative;
  z-index: 100;
  min-height:600px;

}

.polaroid{
  position:absolute;
  background:white;
  padding:15px;
  width:320px;
  box-shadow:0 20px 50pxrgba(0,0,0,.15);

  opacity:0;
  transition:
        transform 0.9s cubic-bezier(.18,1.2,.35,1),
        opacity 0.8s ease;
}

.polaroid img{
  width:100%;
  display:block;
}

.polaroid figcaption{
  text-align:center;
  margin-top:12px;
  font-family: "Playwrite CA", cursive;
  font-size:0.8rem;
}

.polaroid-left{
  top:0;
  left:-25px;
  transform:rotate(-6deg);
  box-shadow: 0 15px 20px rgba(0, 0, 0, .15);

  transform:translateX(-120px) translateY(-40px) rotate(-10deg);
}

.polaroid-right {
  top: 100px;
  width: 340px;
  left: 270px;
  transform: rotate(7deg);
  transform: translateX(120px) translateY(40px) rotate(8deg);
}

.polaroid.visible{
  opacity:1;
}

.polaroid-left.visible{
  transform:translateX(0) translateY(0) rotate(-6deg);
}

.polaroid-right.visible{
  transform:translateX(0) translateY(0) rotate(6deg);
}



/* =========================
 EXPERIENCE
========================= */

.experience-section{
  padding: 90px 0;
}

.section-title{
  text-align:center;
  margin-bottom:60px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.experience-card{
  padding:15px;
  text-align:center;
  transition:.4s;
}

.experience-card:hover{
  transform:
  translateY(-8px);
}

.icon{

  font-size:3rem;

  margin-bottom:20px;

}

.title-line{

  display:flex;
  align-items:center;
  gap:30px;
  justify-content:center;
}

.title-line::before,
.title-line::after{
  content:"";
  flex:1;
  height:1px;
  background:#6F7D55;
}

/* =========================
   PRACTICAL SECTION
========================= */

.practical-section{
  display: flex;
}

.practical-section .container{
  width: 100%;
}

.practical-card{
  background:linear-gradient(135deg,var(--olive),var(--olive-light));
  color:white;
  padding:70px;
  position:relative;
  overflow:hidden;
  flex:1;
  height : auto;
}

.practical-card-1{
  background-image:url('../img/toilettes-seches.png');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.practical-card h2{

  color:white;

}

.practical-card .section-subtitle{

  color:rgba(255,255,255,.8);

}

.practical-card ul{

  margin-top:30px;

}

.practical-card li{
  margin-bottom:18px;
  list-style:none;
  position:relative;
  padding-left:35px;

}

.practical-card li::before{
  content:"●";
  position:absolute;
  left:0;
  font-weight:bold;
}


/* =========================
 EXTRAS
========================= */

.extras-section{
  padding:120px 0;
}

.extras-grid{
  display:grid;
  grid-template-columns:
  repeat(auto-fit,minmax(190px,1fr));
  gap:30px;
}

.extra-item{
  text-align:center;
  font-weight:500;
  transition:.4s;
}

.extra-item:hover{

  transform:
  translateY(-8px);

}

.extra-item img{
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* =========================
 visiter
========================= */

.surroundings-section{
  background:#F4F0E8;
}

.surroundings-content{
  display:flex;
  min-height:600px;

}

.surroundings-text{
  background:#9AA07C;
  color:white;
  padding:80px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.surroundings-text-left{
  width: 35%;
}

.surroundings-section h2{
  color:white;
}


.section-label{

  text-transform:uppercase;

  letter-spacing:4px;

  font-size:.9rem;

}

.surroundings-slider{

  position:relative;

  overflow:hidden;

}
.surroundings-slider-right{
  width: 65%;
}

.slide{

  position:absolute;

  inset:0;

  opacity:0;

  transition:opacity .8s ease;

}

.slide.active{

  opacity:1;

}

.slide img{

  width:100%;

  height:100%;

  object-fit:cover;

}

.slide-overlay{

  position:absolute;

  left:50px;

  bottom:50px;

  max-width:420px;

  color:white;

  background:rgba(0,0,0,.35);

  backdrop-filter:blur(8px);

  padding:30px;

  border-radius:12px;

}

.slide-overlay span{

  opacity:.8;

}

.slide-overlay h3{

  margin:10px 0;

  font-size:2rem;

}

.slider-prev,
.slider-next{

  position:absolute;

  top:50%;

  transform:translateY(-50%);

  width:55px;

  height:55px;

  border:none;

  border-radius:50%;

  cursor:pointer;

  background:white;

  font-size:1.4rem;

  z-index:20;

}

.slider-prev{

  left:25px;

}

.slider-next{

  right:25px;

}

/* =========================
 GALLERY
========================= */

.gallery-section{

  padding:120px 0;

}

.gallery-grid{

  display:grid;

  grid-template-columns:
  repeat(3,1fr);

  gap:20px;

}

.gallery-grid img{

  width:100%;
  height:320px;
  object-fit:cover;
  border-radius:20px;
  transition:.5s;
  box-shadow:0 10px 30px rgba(0,0,0,.1);
}

.gallery-grid img:hover{
  transform:scale(1.03);
}



/* =========================
 RESERVATION
========================= */

.reservation-section{

  position:relative;

  min-height:50vh;

  display:flex;

  align-items:center;

  justify-content:center;

  text-align:center;

  background:
  url('../img/chemin.jpg')
  center center/cover;

}

.reservation-overlay{

  position:absolute;

  inset:0;

  background:
  rgba(0,0,0,.6);

}

.reservation-content{

  position:relative;

  z-index:2;

  color:white;

  max-width:800px;

}

.reservation-content h2{

  color:white;

}

.reservation-content p{

  margin-bottom:30px;

  font-size:1.1rem;

}

.reservation-content .section-subtitle{
  color: var(--cream);
}


/* =========================
 FOOTER
========================= */

footer{
  background:linear-gradient(180deg,#2F3528,#1E231B);
  color:white;
  padding:45px 0 15px 0;
}

.footer-content{
  display: flex;
  justify-content: space-between;
}

.footer-column{
  flex: 1;
  padding: 0 30px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.footer-column:last-child{
  border-right: none;
}

.footer-logo, .social{
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .social{
  text-align: center;
}

.footer-content p{
  opacity:.85;
  margin-bottom:10px;
}

footer a{
  color: white;
    text-decoration: none;
}
footer h4{
  margin-bottom:15px;
  font-size:1.1rem;
}
.copyright{
  text-align:center;
  margin-top:45px;
  font-size:0.9rem;
  opacity:.6;
}

/* =========================
 ANIMATIONS
========================= */

.fade-up{

  opacity:0;

  transform:
  translateY(60px);

  transition:
  opacity .8s ease,
  transform .8s ease;

}

.fade-up.visible{

  opacity:1;

  transform:none;

}


/* =========================
 FLOATING LEAVES
========================= */

.leaf{

  position:absolute;

  opacity:.08;

  pointer-events:none;

}

.leaf-1{

  top:10%;
  left:3%;
  font-size:90px;

}

.leaf-2{

  bottom:15%;
  right:5%;
  font-size:120px;

}


/* =========================
 MOBILE
========================= */

@media(max-width:992px){

.story-section .container{

  grid-template-columns:1fr;

}

.polaroid-group{

  min-height:650px;

}

.gallery-grid{

  grid-template-columns:
  repeat(2,1fr);

}

.practical-card{

  padding:40px;

}

}


@media(max-width:768px){

.navbar{

  flex-direction:column;

  gap:20px;

}

.navbar ul{

  gap:15px;

  flex-wrap:wrap;

  justify-content:center;

}

.hero{
  padding:0 20px;
}

.hero h1{
  font-size:3rem;
}

.gallery-grid{
  grid-template-columns:1fr;
}

.polaroid{
  width:260px;
}

.polaroid-left{
  left:50%;
  transform:
  translateX(-50%)
  rotate(-4deg);

}

.polaroid-right{

  right:auto;

  left:50%;

  transform:
  translateX(-50%)
  rotate(4deg);

}

}

@media(max-width:480px){

.polaroid{

  width:220px;

}

.practical-card{

  padding:30px;

}

}