/* 
 * Immelzaxe - Style pour le système de gestion des cookies
 * Site web immobilier de luxe en France
 * Copyright 2023 Immelzaxe
 */

/* Cookie Consent Overlay */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    color: #fff;
    z-index: 9999;
    padding: 20px;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.cookie-consent.visible {
    transform: translateY(0);
}

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

.cookie-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    transition: all 0.3s ease;
}

#accept-all {
    background-color: #c1272d;
    color: white;
}

#accept-all:hover {
    background-color: #a01f24;
}

#accept-necessary {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

#accept-necessary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#customize-cookies {
    background-color: #2c3e50;
    color: white;
}

#customize-cookies:hover {
    background-color: #1a2530;
}

/* Cookie Customize Options */
.cookie-customize {
    max-width: 1200px;
    margin: 20px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.cookie-option input[type="checkbox"] {
    margin-top: 4px;
}

.cookie-option label {
    font-size: 0.95rem;
}

#save-preferences {
    background-color: #d4af37;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    transition: all 0.3s ease;
    margin-top: 10px;
}

#save-preferences:hover {
    background-color: #c09c30;
}

/* Utility classes */
.hidden {
    display: none !important;
}

/* Responsive styles */
@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}
