body {
    font-family: Arial, sans-serif;
    color: #3d2c28; 
    background-color: #fdf7f0; 
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.sticker {
    position: fixed;
    bottom: 20px;
    z-index: 10;
    opacity: 0.8;
}

.sticker img {
    width: 100px;
}

.sticker.left {
    left: 10px;
}

.sticker.right {
    right: 10px;
}

/* Style du bouton "Retour en haut" */
#backToTop {
    position: fixed;
    bottom: 20px;  /* Positionné un peu au-dessus du bas */
    right: 20px;   /* Positionné à droite */
    z-index: 1000; /* Assure que le bouton est au-dessus du contenu */
    font-size: 24px;  /* Taille du texte (flèche) */
    background-color: #a45a32;  /* Couleur de fond */
    color: white;  /* Couleur du texte */
    border: none;
    padding: 10px 15px;  /* Taille du bouton */
    border-radius: 50%;  /* Forme circulaire */
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);  /* Ombre douce */
    transition: background-color 0.3s ease, transform 0.3s ease;  /* Transition au hover */
}

/* Style au survol */
#backToTop:hover {
    background-color: #d9603b;  /* Couleur de fond change au survol */
    transform: scale(1.1);  /* Légère augmentation de la taille au survol */
}

/* Style au clic */
#backToTop:active {
    transform: scale(0.98);  /* Réduction au clic */
}

/* Texte au survol */
#backToTop:focus {
    outline: none;  /* Enlève le contour par défaut */
}

/* Section météo */
#weather {
    background-color: #d9603b65;
    padding: 5px; /* Réduction de l'espace intérieur */
    border-radius: 5px; /* Angle légèrement arrondi */
    width: 100px; /* Réduction de la largeur */
    font-size: 12px; /* Réduction de la taille du texte */
    position: absolute; /* Positionnement absolu */
    top: 10px; /* Positionnement depuis le haut */
    right: 10px; /* Positionnement depuis la droite */
    text-align: center;
    font-family: Arial, sans-serif;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* S'assurer que ça reste au-dessus des autres éléments */
}

#weather h2 {
    color: white;
    font-size: 14px; /* Taille plus petite pour le titre */
    margin-bottom: 5px; /* Moins d'espacement sous le titre */
}

#weather iframe {
    width: 100px; /* Réduction de la largeur de l'iframe */
    height: 50px; /* Réduction de la hauteur de l'iframe */
    border: none; /* Suppression de la bordure par défaut */
}

#toggle-nav {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
    font-size: 24px;
    background-color: #a45a32;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

#toggle-nav:hover {
    background-color: #d9603b;
}

#toggle-nav:active {
    transform: scale(0.95);
}

.side-nav {
    position: fixed;
    top: 0;
    left: -250px; /* Caché initialement */
    width: 250px;
    height: 100%;
    background-color: #a45a32cb; /* Fond semi-transparent */
    color: white;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease; /* Animation pour le défilement */
    z-index: 999;

    visibility: hidden; /* Rendu invisible */
    opacity: 0; /* Rendu totalement transparent */
}

/* Quand le menu est ouvert */
.side-nav.open {
    left: 0; /* Fait apparaître le menu */
    visibility: visible; /* Rendu visible */
    opacity: 1; /* Rendu opaque */
    transition: left 0.3s ease, opacity 0.3s ease; /* Animation fluide */
}

#logo-clair {
    display: block;
}

#logo-sombre {
    display: none;
}

/* Logo du menu */
.side-nav .logo {
    display: flex; /* Permet un positionnement flexible */
    justify-content: flex-end; /* Aligne le contenu (l'image) sur la droite */
    margin-bottom: 20px; /* Espacement en dessous du logo */
}

.side-nav .logo img {
    width: 100px; /* Ajuste la largeur de l'image */
    height: auto; /* Conserve le ratio d'aspect */
    border-radius: 5px; /* Ajoute des bords légèrement arrondis */
    transition: transform 0.3s ease; /* Ajoute une animation au survol */
}

/* Effet au survol du logo */
.side-nav .logo img:hover {
    transform: scale(1.1); /* Agrandit légèrement l'image au survol */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Ajoute une ombre douce */
}

.side-nav a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    display: block;
    margin: 10px 0;
    transition: color 0.3s ease;
}

.side-nav a:hover {
    color: #343332; /* Couleur au survol */
}

/* Boutons dans le menu */
.nav-icons {
    padding: 20px;
    text-align: center;
}

.nav-icons button {
    background-color: #d9603b;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px 0;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-icons button:hover {
    background-color: #c14f2c;
}

.nav-icons button:active {
    transform: scale(0.98);
}

h1, h2, h3 {
    color: #b36b49;
}

button {
    background-color: #d9603b; /* Rouge/orange cohérent */
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
  
button:hover {
    background-color: #c14f2c; /* Couleur plus sombre au hover */
}

button:active {
    transform: scale(0.98); /* Réduit légèrement le bouton */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

a:hover {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

/*Mode sombre */

body.dark-mode {
    background-color: #121212; /* Fond sombre */
    color: #e0e0e0; /* Couleur de texte par défaut plus claire */
}

.dark-mode #backToTop {
    position: fixed;
    bottom: 20px;  /* Positionné un peu au-dessus du bas */
    right: 20px;   /* Positionné à droite */
    z-index: 1000; /* Assure que le bouton est au-dessus du contenu */
    font-size: 24px;  /* Taille du texte (flèche) */
    background-color: #286678; 
    color: white;  /* Couleur du texte */
    border: none;
    padding: 10px 15px;  /* Taille du bouton */
    border-radius: 50%;  /* Forme circulaire */
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);  /* Ombre douce */
    transition: background-color 0.3s ease, transform 0.3s ease;  /* Transition au hover */
}

/* Style au survol */
.dark-mode #backToTop:hover {
    background-color: #348ba4; 
    transform: scale(1.1);  /* Légère augmentation de la taille au survol */
}

.dark-mode #toggle-nav {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
    font-size: 24px;
    background-color: #286678; 
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.dark-mode #toggle-nav:hover {
    background-color: #005b96;
}

.dark-mode #toggle-nav:active {
    transform: scale(0.95);
}

.dark-mode .side-nav {
    position: fixed;
    top: 0;
    left: -250px; /* Caché initialement */
    width: 250px;
    height: 100%;
    background-color: #000000cb; /* Fond semi-transparent */
    color: #286678;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease; /* Animation pour le défilement */
    z-index: 999;

    visibility: hidden; /* Rendu invisible */
    opacity: 0; /* Rendu totalement transparent */
}

/* Quand le menu est ouvert */
.dark-mode .side-nav.open {
    left: 0; /* Fait apparaître le menu */
    visibility: visible; /* Rendu visible */
    opacity: 1; /* Rendu opaque */
    transition: left 0.3s ease, opacity 0.3s ease; /* Animation fluide */
}

.dark-mode #logo-clair {
    display: none;
}

.dark-mode #logo-sombre {
    display: block;
}

/* Logo du menu */
.dark-mode .side-nav .logo {
    display: flex; /* Permet un positionnement flexible */
    justify-content: flex-end; /* Aligne le contenu (l'image) sur la droite */
    margin-bottom: 20px; /* Espacement en dessous du logo */
}

.dark-mode .side-nav .logo img {
    width: 100px; /* Ajuste la largeur de l'image */
    height: auto; /* Conserve le ratio d'aspect */
    border-radius: 5px; /* Ajoute des bords légèrement arrondis */
    transition: transform 0.3s ease; /* Ajoute une animation au survol */
}

/* Effet au survol du logo */
.dark-mode .side-nav .logo img:hover {
    transform: scale(1.1); /* Agrandit légèrement l'image au survol */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Ajoute une ombre douce */
}

.dark-mode .side-nav a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    display: block;
    margin: 10px 0;
    transition: color 0.3s ease;
}

.dark-mode .side-nav a:hover {
    color: #286678; /* Couleur au survol */
}

.dark-mode .nav-icons button {
    background-color: #1e1d1d;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px 0;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dark-mode .nav-icons button:hover {
    background-color: #000000;
}

.dark-mode .nav-icons button:active {
    transform: scale(0.98);
}

/* Section météo */
.dark-mode #weather {
    background-color: #00000065;
    padding: 5px; /* Réduction de l'espace intérieur */
    border-radius: 5px; /* Angle légèrement arrondi */
    width: 100px; /* Réduction de la largeur */
    font-size: 12px; /* Réduction de la taille du texte */
    position: absolute; /* Positionnement absolu */
    top: 10px; /* Positionnement depuis le haut */
    right: 10px; /* Positionnement depuis la droite */
    text-align: center;
    font-family: Arial, sans-serif;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* S'assurer que ça reste au-dessus des autres éléments */
}

.dark-mode #weather h2 {
    color: #2d859e;
    font-size: 14px; /* Taille plus petite pour le titre */
    margin-bottom: 5px; /* Moins d'espacement sous le titre */
}

.dark-mode .hero-content h1,
.dark-mode .hero-content p {
    color: white;
}

.dark-mode section {
    background-color: #1f1f1f; /* Fond sombre des sections */
    padding: 20px;
}

.dark-mode main h2 {
    color: #2d859e; /* Couleur bleue pour les titres */
}

/* Paragraphes*/
.dark-mode section p {
    color: #c1c1c1; /* Texte des paragraphes plus clair */
}

.dark-mode button {
    background-color: #286678; /* Fond bleu fonce pour les boutons */
    color: #ffffff; /* Texte des boutons blanc */
    padding: 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.dark-mode button:hover {
    background-color: #348ba4; /* Fond bleu légèrement plus foncé au survol */
}

.dark-mode #access {
    background-color: #121212;
}

.dark-mode #access h2 {
    color: #2d859e;
}

.dark-mode #access li {
    color: #c1c1c1;
}

.dark-mode #ideal-seasons {
    background-color: #121212;
}

.dark-mode #ideal-seasons h2{
    color: #2d859e;
}

.dark-mode #ideal-seasons li {
    color: #c1c1c1;
}

.dark-mode .cards {
    display: flex;
    gap: 20px;
    justify-content: space-between;

}

.dark-mode .card {
    color: #e0e0e0; /* Texte clair pour les cartes */
    padding: 10px;
    border-radius: 8px;
    width: 30%;
}

.dark-mode .cards .card {
    background-color: #121212;
}

.dark-mode .card h3 {
    color: #61dafb; /* Titre des cartes bleu clair */
}

.dark-mode .card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.dark-mode .card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7); /* Ombre plus intense */
}

.dark-mode #night {
    background-color: #121212;
    border: 2px solid #c1c1c1;
}

.dark-mode #night h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2d859e;
    margin-bottom: 20px;
}

.dark-mode #night video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.dark-mode .petra-video {
    width: 100%;
    max-width: 250px;
    border-radius: 10px;
    border: 2px solid #2d859e;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease-in-out;
}

.dark-mode #reserve {
    background-color: #286678; /* Fond bleu fonce pour les boutons */
    color: #ffffff; /* Texte des boutons blanc */
    padding: 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}
  
.dark-mode #reserve:hover {
    background-color: #348ba4; /* Fond bleu légèrement plus foncé au survol */
}

/* Sections spécifiques */
.dark-mode .restaurants {
    background-color: #1e1e1e; /* Fond des sections restaurant */
    border-color: #292929; /* Bordure des sections restaurant */
    color: #d1d1d1; /* Texte principal */
}

.dark-mode .restaurants ul li {
    background-color: #1f1f1f; /* Fond des items de liste */
    color: #d1d1d1; /* Texte principal */
    border: 1px solid #292929; /* Bordure des items */
}

.dark-mode .restaurants ul li:hover {
    background-color: #2d869e7a;
    transform: scale(1.02);
    transition: all 0.3s ease-in-out;
}

.dark-mode footer {
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    background-color: black;
}

.dark-mode footer .titre {
    margin: 20px auto;
    color: #2d859e;
}

.dark-mode footer p {
    color: #d1d1d1;
}

.dark-mode footer a {
    color: #858282;
}

.dark-mode footer a:hover {
    color: #d1d1d1;
}




/*Fin du css mode sombre */

header.hero {
    background: url(../IMAGES/petra.jpg) no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin: 0;
    color: #fde4d0; /* Beige clair pour contraste doux */
}

.hero-content p {
    margin: 10px 0;
    font-size: 1.5rem;
}

section {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff4e6; /* Beige clair uniforme */
}

#access {
    background-color: #f9efe2; /* Variation légère pour section */
    padding: 40px 20px;
}

#access h2 {
    font-size: 2rem;
    color: #8b4a3d; /* Brun sombre pour contraste */
}

#access ul {
    list-style-type: none;
    padding: 0;
}

#access li {
    margin: 10px 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
}

#ideal-seasons {
    background-color: #f1f1f1;
    padding: 40px 20px;
    text-align: center;
}

#ideal-seasons h2 {
    font-size: 2rem;
    color: #d9c49b;
}

#ideal-seasons ul {
    list-style-type: none;
    padding: 0;
}

#ideal-seasons li {
    margin: 10px 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.cards .card {
    background: #fffdf9; /* Fond très clair naturel */
    border: 1px solid #d7c4b1; /* Bordure douce */
}

.card img {
    width: 100%;
}

.card h3 {
    font-size: 1.5rem;
    margin: 15px 0;
}

.card p {
    padding: 0 15px 20px;
}

.card:hover {
    transform: scale(1.05);
}

#night {
    margin: 50px auto;
    max-width: 900px;
    text-align: center;
    background-color: #f9f3e9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid #d2a679;
}

#night h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #a55a2a;
    margin-bottom: 20px;
}

.petra-video {
    width: 100%;
    max-width: 250px;
    border-radius: 10px;
    border: 2px solid #d2a679;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease-in-out;
}

.petra-video:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

#pricing a {
    text-decoration: none;
    color: white;
}

#pricing ul {
    list-style-type: none;
    padding: 0;
}

#pricing li {
    margin: 5px 0;
    font-size: 1.2rem;
    font-weight: bold;
}

#reserve {
    background-color: #d9603b; /* Rouge/orange cohérent */
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
  
#reserve:hover {
    background-color: #c14f2c; /* Couleur plus sombre au hover */
}

#reserve:active {
    transform: scale(0.98); /* Réduit légèrement le bouton */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.restaurants {
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
    background-color: #f9f3e9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #d2a679;
}

.restaurants h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #a55a2a;
    margin-bottom: 15px;
    text-align: center;
}

.restaurants p {
    font-size: 1rem;
    color: #6b4f3b;
    line-height: 1.6;
}

.restaurants ul {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.restaurants ul li {
    margin: 10px 0;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #d2a679;
}

.restaurants ul li:hover {
    background-color: #e8d3c4;
    transform: scale(1.02);
    transition: all 0.3s ease-in-out;
}

footer {
    margin-top: 10px;
    background-color: #d2a679; 
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

footer .titre{
    margin: 20px auto;
    color: #a55a2a;
}

footer p {
    margin: 0;
}

footer a {
    color: #a55a2a; 
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}