/* ========== COMPONENTS CSS ========== */
/* Fichier séparé pour le carrousel, cookies et réservation */

/* Variables globales */
:root {
    --cream: #f8f5dc;
    --dark-text: #2a2a2a;
    --light-text: #6a6a6a;
    --border-light: #e8e6e3;
    --accent: #8b7355;
    --brown-text: #4a3728;
}

/* ========== CARROUSEL ========== */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 550px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(74, 55, 40, 0.7);
    color: var(--cream);
    border: none;
    font-size: 2rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 4px;
}

.carousel-btn:hover {
    background: rgba(74, 55, 40, 0.9);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(248, 245, 220, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--cream);
    width: 12px;
    height: 12px;
}

/* ========== BANNIÈRE COOKIES ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(74, 55, 40, 0.92);
    backdrop-filter: blur(15px);
    color: var(--cream);
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(248, 245, 220, 0.2);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: 'Cormorant Garamond', serif;
    color: var(--cream);
    font-weight: 400;
}

.cookie-link {
    color: var(--cream);
    text-decoration: underline;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.cookie-link:hover {
    opacity: 0.8;
}

.cookie-buttons {
    display: flex;
    gap: 1.2rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--cream);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    min-width: 130px;
}

.cookie-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.cookie-btn.accept {
    background: var(--accent);
    color: var(--cream);
    border-color: var(--accent);
}

.cookie-btn.accept:hover {
    background: #a08968;
    border-color: #a08968;
}

.cookie-btn.refuse {
    background: transparent;
    color: var(--cream);
    border-color: var(--cream);
}

.cookie-btn.refuse:hover {
    background: var(--cream);
    color: var(--brown-text);
    border-color: var(--cream);
}

/* ========== SECTION RÉSERVATION (minimaliste) ========== */
.reservation-section {
    max-width: 600px;
    margin: 4rem auto 4rem 10rem;
    padding: 2rem;
    text-align: left;
}

.reservation-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--brown-text);
    text-align: center;
}

.reservation-text {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

.reservation-phone {
    margin: 2rem 0;
    text-align: center;
}

.reservation-phone a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.reservation-phone a:hover {
    color: var(--brown-text);
}

.reservation-note {
    font-size: 0.85rem;
    color: var(--light-text);
    font-style: italic;
    margin-top: 1rem;
    text-align: center;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .carousel-container {
        max-width: 100%;
        height: 500px;
    }

    .cookie-banner {
        padding: 1.2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-text p {
        font-size: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
        gap: 1rem;
    }
    
    .cookie-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        min-width: 110px;
    }

    .reservation-section {
        padding: 1.5rem;
        margin: 2rem auto !important;
        text-align: center !important;
    }

    .reservation-title {
        font-size: 1.5rem;
    }

    .reservation-phone a {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 450px;
    }
    
    .carousel-btn {
        font-size: 1.5rem;
        padding: 0.7rem 0.9rem;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cookie-btn {
        width: 220px;
        padding: 0.8rem 1rem;
    }
    
    .reservation-section {
        margin: 2rem auto !important;
    }
}
