/*
Theme Name: Mon theme
Theme URI: https://montheme.io
Author: Ju
Description: Mon premier thème !
Version: 1.0
*/

/* Reset minimal */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: sans-serif;
}
header {
  display: flex;
  justify-content: space-between; /* logo à gauche, menu à droite */
  align-items: center;            /* ✅ centre verticalement logo + menu */
  padding: 0 2rem;                /* espace gauche/droite */
  background-color: #fff;
  color: #000000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 15vh;                   /* hauteur fixe */
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* ⚠️ Supprimer l’ancien décalage qui cassait le centrage */
.main-menu {
  position: static !important;
  top: auto !important;
  left: auto !important;
}

.main-menu ul {
  display: flex;
  align-items: center;   /* centre verticalement les liens */
  gap: 2rem;             /* espace horizontal entre les liens */
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo {
  display: flex;
  align-items: center;   /* centre verticalement l’image du logo */
}

.logo img {
  height: 70px;  /* ajuste la taille à ton goût */
  width: auto;
  display: block;
}
main {
  margin-top: 150px; /* Décale le contenu sous le header */
  padding-bottom: 120px; /* Pour laisser la place au footer sticky */
}

.logo {
  font-size: 1.5rem;
  text-decoration: none;
  color: #fff;
}

.main-menu{
  position: relative;
  top: 30%;
  left: -10%;
}
nav {
  /* desktop nav is visible by default */
}
.nav-links {
  list-style: none;
  display: flex;
}
.nav-links li {
  margin-left: 1.5rem;
}
.nav-links a {
  text-decoration: none;
  color: #000000;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #454545;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin-bottom: 4px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.principale {padding-top: 9%}

.footer {
  background-color: #4c4c4c; 
  color: white; 
  padding: 2rem 1rem;
}

.menu ul{
  list-style: none;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #90e0ef;
}

.footer-column p,
.footer-column ul {
  font-size: 0.95rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.footer-column ul li a:hover {
  color: #90e0ef;
}

.logo img {
  height: 80px;
  width: auto;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: #333;
    height: calc(100vh - 60px);
    width: 200px;
    flex-direction: column;
    align-items: start;
    padding: 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }
  .nav-links li {
    margin: 1rem 0;
  }
  .hamburger {
    display: flex;
  }
  .nav-active {
    transform: translateX(0);
  }
  /* Hamburger animation when active */
  .toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .toggle span:nth-child(2) {
    opacity: 0;
  }
  .toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

.menu {
  list-style-type: none;
}

.menu li {
  float: left;
  margin: 10px;
}

.menu li a {
  text-decoration: none;
  color: black;
}

.menu li a:hover {
  color: rgb(55, 55, 55);
}

.search-bar {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  padding: 0.8em 1.5em;
  display: flex;
  gap: 35px;
  align-items: center;
  z-index: 3;
  justify-content: center;
}
 
.search-bar select,
.search-bar input[type="date"],
.search-bar input[type="range"] {
  padding: 0.5em;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.parent-de-la-search-bar {
  display: flex ;
  flex-direction : column;
  align-items: center;
}

.price-slider-container {
  display:flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* Conteneur des widgets du footer */
.footer-widgets {
  display: flex;
  background: #4c4c4c;
  color: white;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 1rem;
}

/* Chacune des 4 colonnes */
.footer-column {
  flex: 1 1 200px;
}

/* Style optionnel pour les titres de widget */
.footer-widget-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #1b90a4;
}

.page-404 {
  text-align: center;
  padding: 4rem 1rem;
  font-family: sans-serif;
}
.page-404 .container {
  max-width: 600px;
  margin: 0 auto;
}
.page-404 h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}
.page-404 p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #666;
}
.btn-home {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background-color: #0078d7;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.btn-home:hover {
  background-color: #005fa3;
}

/* Espace tout autour de la page */
body {
  padding: 2rem; /* ajuste la valeur selon l’air que tu veux */
}

/* (Optionnel) Centrer et limiter la largeur de ton contenu principal */
.site-content,
main,
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 1) On supprime le padding par défaut du body */
body {
  padding: 0 !important;
}

/* 3) On s’assure que header, .banner et footer sont bien à 0 */
header,
.banner,
footer {
  margin: 0 !important;
  padding: 0 !important;
}

/* Style de base */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu {
  display: flex;
  gap: 20px;
  list-style: none;
}

/* Bouton burger caché sur PC */
.burger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* === Search - Pool Party === */
.pp-search { display:flex; align-items:center; gap:.5rem; max-width:520px; margin:0; }
.pp-search__field { flex:1; padding:.6rem .9rem; border:1px solid #ddd; border-radius:999px; }
.pp-search__btn { padding:.6rem 1rem; border:0; border-radius:999px; cursor:pointer; }
.pp-search__field:focus { outline:none; border-color:#aaa; }

@media (max-width:480px){
  .pp-search { width:100%; }
}

#breadcrumbs {
  font-size: 0.9rem;
  margin: 1rem 0;
}
#breadcrumbs a {
  text-decoration: none;
  color: #0073aa;
}
#breadcrumbs a:hover {
  text-decoration: underline;
}



