/* =====================================================
   LA GOUSSE D'AIL - STYLES PAGES
   Carte, Actualités, Histoire, Truffinette
   ===================================================== */

/* =====================================================
   PAGE CARTE
   ===================================================== */
.carte-section {
    min-height: 100vh;
    padding: 120px 40px 80px;
    background: var(--color-bg);
}

.carte-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.carte-title {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 60px;
}

.carte-image-wrapper {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.carte-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* =====================================================
   PAGE ACTUALITÉS
   ===================================================== */
.actualites-section {
    min-height: 100vh;
    padding: 120px 40px 80px;
    background: var(--color-bg);
}

.actualites-container {
    max-width: 1400px;
    margin: 0 auto;
}

.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.actualite-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    cursor: pointer;
}

.actualite-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.actualite-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.actualite-content {
    padding: 30px;
}

.actualite-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.actualite-date {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 100px 40px;
    color: var(--color-text-light);
}

.empty-state h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    color: #A0AEC0;
    margin-bottom: 16px;
}

/* =====================================================
   MODAL ACTUALITÉ
   ===================================================== */
.actualite-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.actualite-modal.active {
    display: flex;
}

.actualite-modal-image {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.actualite-modal-close {
    position: fixed;
    top: 40px;
    right: 50px;
    color: white;
    font-size: 48px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    font-weight: 300;
    transition: all 0.3s ease;
}

.actualite-modal-close:hover {
    color: var(--color-primary);    
    transform: rotate(90deg);
}

/* Cache scrollbar dans les modals */
.menu-modal::-webkit-scrollbar,
.lightbox::-webkit-scrollbar,
.product-modal::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
    display: none;
}

.menu-modal,
.lightbox,
.product-modal,
.modal-content {
    scrollbar-width: none;
    -ms-overflow-style: none;
}


/* =====================================================
   PAGE HISTOIRE & TRUFFINETTE (styles communs)
   ===================================================== */
.page-content {
    min-height: 100vh;
    padding: 120px 40px 80px;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 40px;
    text-align: center;
}

.page-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 30px;
}

.page-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: 40px 0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
    .carte-section,
    .actualites-section,
    .page-content {
        padding: 100px 20px 60px;
    }
    
    .carte-title,
    .page-title {
        font-size: 42px;
    }
    
    .carte-image-wrapper {
        padding: 20px;
    }
    
    .actualites-grid {
        grid-template-columns: 1fr;
    }
    
    .actualite-image {
        height: 300px;
    }
    
    .actualite-modal {
        padding: 20px;
    }
    
    .actualite-modal-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}
