/* Variables */
:root {
    --sage-green: #3a4831;
    --dark-sage: #3a4831;
    --beige-light: #f0efe3;
    --beige-dark: #f0efe3;
    --white: #ffffff;
    --black: #2c2c2c;
    --font-main: 'Montserrat', sans-serif;
    --font-title: 'Montserrat', sans-serif;
 
}

/* Reset & Global */
* { margin: 0; padding: 0; box-box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--black); background-color: var(--white); line-height: 1.6; }

h1, h2, h3 { font-family: var(--font-title); color: var(--dark-sage);   font-weight: 800; }
h2 { font-size: 2.5rem; margin-bottom: 2rem; }
.section-padding { padding: 80px 5%; }
.bg-beige { background-color: var(--beige-light); }
.container { max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }

/* Header & Nav */
header {
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    transition: background 0.4s ease;
    padding: 15px 0;
}

header.scrolled {
    background: var(--beige-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 5%;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

header.scrolled .nav-links a { color: var(--dark-sage); }


/* Style de base du logo */
.logo { 
    width: 300px; /* Taille initiale (logo-clear) */
    height: auto;
    transition: width 0.3s ease; /* Transition fluide de la largeur */
}

/* Taille du logo quand on a scrollé */

header.scrolled .logo { 
    width: 200px; 
}

.btn-reserver {
    background-color: var(--sage-green);
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}
.btn-reserver:hover { background-color: var(--dark-sage); }

/* Hero */
#hero {
    height: 100vh;
    width: 100%;
    position: relative; /* Important pour que le texte se place par rapport à ça */
    overflow: hidden;
}

.slider-container { position: relative; height: 100vh; width: 100%; overflow: hidden; }
.slide { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center;
    opacity: 0; 
    transition: opacity 1.5s ease-in-out; /* Transition douce */
    z-index: 1;
}

.slide.active { 
    opacity: 1; 
    z-index: 2; /* L'image active passe au dessus des autres */
}
/*
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    z-index: 10; 
    color: white;
    text-align: center;
    width: 100%;
}

#hero h1 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 5rem; 
}
.slogan { font-size: 1.5rem; font-style: italic; font-family: var(--font-title); }*/

/* Sections */
.flex-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.text-content { flex: 1; }
.image-content { flex: 1; }
.img-fluid { max-width: 100%; height: auto; border-radius: 8px; }

/* Iframe Carte */
.iframe-container {
    position: relative;
    width: 100%;
    height: 600px;
    border: 2px solid var(--beige-dark);
}
.iframe-container iframe { width: 100%; height: 100%; }

/* Formulaire */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--beige-dark);
    border-radius: 4px;
}
.btn-submit {
    background: var(--sage-green);
    color: white;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
}

/* Instagram Placeholder */
.feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}
.insta-item img { width: 100%; height: 300px; object-fit: cover; }

/* Footer */
footer { background: var(--dark-sage); color: var(--beige-light); padding: 40px 5%; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-social a { color: white; font-size: 1.5rem; margin-right: 15px; }

/* Responsive */
@media (max-width: 768px) {
    .navbar { flex-direction: column; padding: 20px; }
    .nav-links { display: none; } /* On pourrait ajouter un menu burger ici */
    .flex-content { flex-direction: column; }
    #hero h1 { font-size: 3rem; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
    .reservation-container { position: fixed; bottom: 0; width: 100%; left: 0; }
    .btn-reserver { display: block; text-align: center; border-radius: 0; padding: 15px; }
}

/* On cible le conteneur de l'iframe pour qu'il prenne toute la place */
.insta-placeholder {
    width: 100%;
    margin: 20px 0;
}

/* On force l'iframe à faire 100% de son parent */
.insta-placeholder iframe {
    width: 100% !important;
    min-width: 100%;
    border: none;
    /* Ajuste la hauteur selon tes besoins */
    min-height: 500px; 
}

/* Le conteneur pour gérer le débordement */
.map-wrapper {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
}

/* Le filtre magique pour imiter ton Snazzy Maps */
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) invert(90%) sepia(15%) hue-rotate(60deg) saturate(400%) brightness(105%);
    /* Explication : 
       grayscale + invert : rend la carte claire/ivoire
       sepia : donne le côté beige
       hue-rotate : donne la teinte vert sauge
    */
    transition: all 0.5s ease;
}

/* Optionnel : Quand on survole, la carte reprend ses couleurs naturelles pour mieux voir 
.map-wrapper:hover iframe {
    filter: none;
}
*/