html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Ajuste ce chiffre selon la hauteur de ta navbar */
}

/* --- RESET & VARIABLES --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root { 
    --primary: #ce2b37; 
    --secondary: #008c45; 
    --gold: #ffc107; 
    --dark: #1a1a1a; 
    --gray: #f8f9fa; 
}

body { 
    font-family: 'Poppins', sans-serif; 
    background: var(--gray); 
    color: var(--dark); 
    line-height: 1.6; 
    scroll-behavior: smooth; 
}

/* --- NAVIGATION --- */
.navbar {
    position: sticky; /* Reste fixé au scroll */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(0, 0, 0, 0.3) !important; /* Fond sombre semi-transparent constant */
    backdrop-filter: blur(5px); /* Floute légèrement l'image derrière pour le style */
    z-index: 2000;
    box-sizing: border-box;
}

/* On retire le padding-top du hero s'il y en avait un gros, car sticky reprend sa place */
.hero {
    margin-top: -70px; /* On fait remonter le hero sous la nav pour garder l'effet visuel */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar .logo, .navbar a {
    color: white !important;
    text-decoration: none;
    font-weight: bold;
}

.navbar .logo span{
    color: #ffc107; /* Le mot PIZZA en jaune */
}

.btn-tel {
    background-color: #ffc107 !important;
    color: #000 !important;
    padding: 10px 15px;
    border-radius: 5px;
}

.hero {
    position: relative;
    min-height: 80vh; /* Ajuste selon tes besoins */
    padding-top: 100px; /* Pour que le texte du hero ne soit pas sous le logo */
    background-size: cover;
    background-position: center;
}
.logo { font-family: 'Oswald', sans-serif; font-size: 1.8rem; font-weight: 700; }
.logo span { color: var(--primary); }
.nav-links a { text-decoration: none; font-weight: 600; color: var(--dark); margin-right: 15px; }

h1 {
    color: orange;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* --- HERO --- */
.hero h1 { 
    font-family: 'Oswald'; 
    font-size: clamp(2.2rem, 7vw, 4rem); 
    color: var(--gold); 
    text-transform: uppercase;
}
.hero-description { 
    font-size: 1.25rem; 
    max-width: 800px; 
    margin: 20px auto 30px; 
    line-height: 1.8; 
    /* Amélioration de la visibilité */
    color: #ffffff;
    background: rgba(0, 0, 0, 0.4); /* Fond léger pour détacher le texte */
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px); /* Flou derrière la description aussi */
    text-shadow: 1px 1px 3px rgba(0,0,0,1);
}
.btn-primary { 
    background: var(--primary); 
    color: white; 
    padding: 15px 35px; 
    text-decoration: none; 
    border-radius: 50px; 
    font-weight: bold; 
    transition: 0.3s; 
    /* Ajout pour le centrage */
    display: inline-block;
    margin: 0 auto;
}

/* On s'assure que le conteneur du bouton centre tout */
.hero-action {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* --- PLANNING --- */
.planning-bar { background: white; border-bottom: 2px solid #ddd; padding: 30px 0; }
.container-small { max-width: 800px; margin: auto; padding: 0 20px; text-align: center; }
.status-box { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 20px; border-radius: 10px; margin-bottom: 15px; }
.status-box.open { background: #e8f5e9; color: #2e7d32; border: 1px solid var(--secondary); }
.status-box.closed { background: #eee; color: #666; }
.truck-icon { font-size: 2.5rem; }

#map { height: 300px; width: 100%; border-radius: 12px; margin-top: 20px; border: 3px solid var(--gold); }

.planning-grid { display: none; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; margin-top: 20px; }
.planning-grid.active { display: grid; }
.day { background: #f0f0f0; padding: 10px; border-radius: 8px; }
.day span { display: block; color: var(--primary); font-weight: bold; }

.btn-nav { 
    background: var(--dark); color: white; padding: 12px 25px; border-radius: 50px; border: none; cursor: pointer; font-weight: 600;
}
#menu {
    scroll-margin-top: 10px; /* Crée une marge invisible uniquement pour le clic du lien */
    padding-top: 50px; 
}
.container { max-width: 1200px; margin: 60px auto; padding: 0 20px; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px 25px; }
.pizza-card { background: white; padding: 55px 20px 25px; border-radius: 15px; text-align: center; position: relative; border: 1px solid #f0f0f0; transition: 0.3s; }
.pizza-card:hover { transform: translateY(-10px); }
.pizza-icon { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 80px; height: 80px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--gold); }
.pizza-icon img { width: 50px; height: 50px; }

.base-badge { display: inline-block; padding: 4px 12px; border-radius: 15px; font-size: 0.75rem; font-weight: bold; margin-bottom: 10px; text-transform: uppercase; }
.base-tomate { background: var(--primary); color: white; }
.base-creme { background: #b3e5fc; color: #01579b; }

.ingredients { margin: 12px 0; font-size: 0.9rem; color: #777; min-height: 45px; }
.price-tag { font-size: 1.6rem; font-weight: 800; border-top: 1px dashed #eee; padding-top: 10px; }

/* --- CONTACT --- */
.btn-tel { background: var(--gold); text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000;color: black !important; padding: 10px 20px; border-radius: 50px; font-weight: bold; }
.btn-sms { background: var(--gold); text-shadow: 
        -1px -1px 0 #666,  
         1px -1px 0 #666,
        -1px  1px 0 #666,
         1px  1px 0 #666;color: black !important; padding: 10px 20px; border-radius: 50px; border: 1px solid var(--gold); font-weight: bold; }

.site-footer { background: #121212; color: white; padding: 10px 20px; text-align: center; }
.town-links a { background: #262626; color: #eee; padding: 8px 18px; border-radius: 20px; text-decoration: none; display: inline-block; margin: 5px; border: 1px solid #333; }
.town-links a:hover { background: var(--gold); color: black; }
.fb-icon i {
    font-size: 2rem; /* Taille de l'icône */
    color: #1877f2;    /* Bleu officiel Facebook */
    vertical-align: middle;
    transition: transform 0.3s ease;
	
}
.fb-icon:hover i {
    transform: scale(1.2);
    color: #0d6efd;
}

.fb-icon {
    background: white;
    color: #3b5998; /* Bleu Facebook */
    border-radius: 50%; /* Cercle parfait */
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
/* Règle fluide : minimum 16px sur mobile, s'ajoute sur PC */
p, .combat-text {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.6;
    max-width: 800px; /* Évite les lignes trop longues sur PC */
    margin: 0 auto;
}

/* Correction spécifique pour mobile si besoin */
@media (max-width: 600px) {
    p {
        font-size: 16px; /* Taille minimale confortable pour la lecture au doigt */
    }
}