/* --- CONFIGURATION GÉNÉRALE & COULEURS --- */
:root {
    --italy-green: #008C45;
    --italy-white: #F4F1EA; 
    --italy-red: #CD212A;
    --text-dark: #1a1a1a;
    --header-height: 80px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--italy-white);
    color: var(--text-dark);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER FIXE --- */
.main-header {
    height: var(--header-height);
    background: #fff;
    border-bottom: 3px solid var(--italy-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { height: 50px; width: auto; }
.logo span { 
    font-family: 'Playfair Display', serif; 
    font-weight: 700; 
    color: var(--italy-red); 
    font-size: 1.5rem; 
    margin-left: 10px;
}

.nav-list { display: flex; gap: 30px; list-style: none; margin: 0; }
.nav-list a { 
    text-decoration: none; 
    color: var(--text-dark); 
    font-weight: 600; 
    text-transform: uppercase;
    font-size: 0.85rem;
}
.nav-list a.active { color: var(--italy-red); }

/* --- CONTENU PRINCIPAL --- */
.main-content {
    flex: 1; /* Pousse le footer vers le bas */
    padding: 40px 0;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--italy-red);
    text-align: center;
    margin-bottom: 60px;
}

.section-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.flex-row-reverse { flex-direction: row-reverse; }

.section-info, .section-media { flex: 1; }

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--italy-green);
    margin-bottom: 25px;
}

.category-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    box-shadow: 20px 20px 0px var(--italy-red);
}

/* --- MENU & DOTS --- */
.item-header { display: flex; align-items: baseline; margin-bottom: 5px; }
.item-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; }
.item-dots { flex: 1; border-bottom: 1px dashed #ccc; margin: 0 10px; }
.item-price { font-weight: 600; color: var(--italy-green); }
.item-desc { font-size: 0.95rem; color: #666; margin-bottom: 15px; }

/* --- HERO (SLIDER DIMENSIONNÉ) --- */
.hero-container {
    position: relative;
    width: 100%;
    height: 600px; /* Taille fixe contrôlée */
    background: #000;
    overflow: hidden;
}

.hero-slideshow { height: 100%; width: 100%; position: relative; }

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active { opacity: 1; z-index: 2; }

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 8s linear;
}

.slide.active img { transform: scale(1.1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7) 100%);
    z-index: 3;
}

.hero-content {
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
    z-index: 4;
    color: #fff;
}

/* --- FOOTER --- */
.site-footer {
    background: #111;
    color: #fff;
    padding: 60px 0 20px;
    border-top: 5px solid var(--italy-red);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    color: var(--italy-green);
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .section-block, .flex-row-reverse { flex-direction: column !important; }
    .category-img { height: 300px; box-shadow: 10px 10px 0px var(--italy-red); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .item-dots { display: none; }
    .page-title { font-size: 2.5rem; }
}