/* GDPR Cookie Banner */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    padding: 25px 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.gdpr-banner.show {
    transform: translateY(0);
}

.gdpr-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.gdpr-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.gdpr-content a {
    color: #c9a961;
    text-decoration: underline;
}

.gdpr-content a:hover {
    color: #b89850;
}

.gdpr-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-gdpr {
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-settings {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-settings:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-accept {
    background-color: #c9a961;
    color: #ffffff;
}

.btn-accept:hover {
    background-color: #b89850;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

/* GDPR Settings Modal */
.gdpr-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gdpr-modal.show {
    display: flex;
}

.gdpr-modal-content {
    background-color: #ffffff;
    max-width: 600px;
    width: 100%;
    border-radius: 4px;
    padding: 40px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.gdpr-modal-header {
    margin-bottom: 30px;
}

.gdpr-modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.gdpr-modal-header p {
    color: #666;
    line-height: 1.6;
}

.gdpr-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gdpr-close:hover {
    color: #1a1a1a;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 4px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #1a1a1a;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .toggle-slider {
    background-color: #c9a961;
}

.cookie-toggle input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-category p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.gdpr-modal-footer {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.gdpr-modal-footer button {
    flex: 1;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save-preferences {
    background-color: #c9a961;
    color: #ffffff;
}

.btn-save-preferences:hover {
    background-color: #b89850;
}

.btn-accept-all {
    background-color: #1a1a1a;
    color: #ffffff;
}

.btn-accept-all:hover {
    background-color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gdpr-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .gdpr-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-gdpr {
        width: 100%;
    }

    .gdpr-modal-content {
        padding: 30px 20px;
    }

    .gdpr-modal-footer {
        flex-direction: column;
    }

    .gdpr-modal-footer button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .gdpr-banner {
        padding: 20px 15px;
    }

    .gdpr-content p {
        font-size: 0.85rem;
    }

    .btn-gdpr {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}
