/*
Theme Name: Cap Ardennes Theme
Author: Nemine ALI
*/

/* =================================================
   FONTS & VARIABLES
   ================================================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:100,200,400,500,600,700&display=swap');

:root{
  --green: rgb(80,159,75);
  --blue: rgb(51,121,135);
  --mediumblue: rgb(48,110,143);
  --darkblue: rgb(6,66,98);
  --orange: #e76f24;
  --white: #f8f9f9;
}

/* =================================================
   RESET & BASE
   ================================================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Montserrat', system-ui, -apple-system, BlinkMacSystemFont,
               'Segoe UI','Segoe UI Emoji','Apple Color Emoji', sans-serif;
  background:var(--white);
  color:#333;
  overflow-x:hidden;
  scroll-behavior:smooth;
}

h1,h2,h3{
  color:var(--darkblue);
  line-height:1.2;
}

/* =================================================
   HEADER – STABLE
   ================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:500;
  width:100%;
  background:rgba(6,66,98,.95);
  backdrop-filter:blur(6px);
}

.main-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:90px;
  padding:0 50px;
}

.nav-logo img{
  height:60px;
  display:block;
}

.nav-menu-wrapper{
  display:flex;
  align-items:center;
}

.nav-link{
  display:flex;
  gap:25px;
  list-style:none;
}

.nav-link a{
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:1px;
}

.nav-cart{
  margin-left:20px;
}

.burger{
  display:none;
  cursor:pointer;
}

.burger div{
  width:25px;
  height:2px;
  background:#fff;
  margin:6px 0;
}

/* =================================================
   SIDEBAR FIXE
   ================================================= */
.button-list{
  position:fixed;
  left:0;
  top:50%;
  transform:translateY(-50%);
  z-index:300;
  display:flex;
  flex-direction:column;
}

.button-list a{
  padding:15px 10px;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  color:#fff;
  text-decoration:none;
}

.button-list .btn-text{
  writing-mode:vertical-lr;
}

.button-list .devis{ background:var(--darkblue); }
.button-list .infos{ background:var(--mediumblue); }
.button-list .meteo{ background:var(--green); }

/* =================================================
   HERO HOME (UNIQUEMENT)
   ================================================= */
body.home .landing{
  position:relative;
  min-height:100vh;
  background:#000;
  overflow:hidden;
}

.hero-wrapper,
.hero-image,
.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.header-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,.35),
    rgba(0,0,0,.7)
  );
  z-index:2;
}

.hero-content{
  position:relative;
  z-index:3;
  max-width:720px;
  padding:140px 8% 80px;
  color:#fff;
}

body.home .hero-content h1{
  font-size:clamp(34px,5vw,58px);
  font-weight:800;
  color:#fff;
}

/* =================================================
   TEMPLATE ACTIVITÉ – UNIVERSEL
   ================================================= */

.activity{
  background:#fff;
}

/* HERO ACTIVITÉ */
.activity-hero{
  position:relative;
  min-height:60vh;
  display:flex;
  align-items:center;
  overflow:hidden;
}

.activity-hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  filter:brightness(.65);
}

.activity-hero-content{
  position:relative;
  z-index:2;
  max-width:1100px;
  margin:0 auto;
  padding:120px 24px 80px;
  color:#fff;
}

.activity-title{
  font-size:clamp(32px,5vw,56px);
  font-weight:800;
  margin-bottom:12px;
  color:#fff;
}

.activity-subtitle{
  max-width:720px;
  font-size:1.05rem;
  margin-bottom:22px;
  opacity:.95;
}

.activity-cta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

/* Boutons */
.activity-btn-primary{
  background:var(--orange);
  color:#fff;
  padding:12px 26px;
  border-radius:999px;
  font-weight:800;
  text-decoration:none;
}

.activity-btn-secondary{
  border:2px solid #fff;
  color:#fff;
  padding:10px 24px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
}

/* CONTENU */
.activity-content{
  max-width:1100px;
  margin:0 auto;
  padding:56px 24px;
  line-height:1.7;
}

/* BOOKING */
.activity-booking{
  max-width:1100px;
  margin:0 auto 80px;
  padding:0 24px;
}

/* =================================================
   FOOTER
   ================================================= */
#footer{
  background:var(--mediumblue);
  color:#fff;
  padding:80px 0;
}

#socket{
  background:var(--darkblue);
  color:#fff;
  height:80px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* =================================================
   RESPONSIVE
   ================================================= */
@media (max-width:768px){

  .main-nav{
    height:70px;
    padding:0 15px;
  }

  .nav-menu-wrapper{
    position:fixed;
    top:0;
    right:0;
    height:100vh;
    width:75%;
    background:rgba(6,66,98,.98);
    flex-direction:column;
    justify-content:center;
    transform:translateX(100%);
    transition:.4s;
    z-index:600;
  }

  .nav-menu-wrapper.nav-active{
    transform:translateX(0);
  }

  .nav-link{
    flex-direction:column;
    gap:30px;
  }

  .burger{
    display:block;
  }

  body.home .hero-content{
    padding:120px 6% 120px;
    text-align:center;
  }

  .activity-hero-content{
    padding:100px 16px 60px;
    text-align:center;
  }

  .activity-cta{
    justify-content:center;
  }
}
