/**
 * Saray Pastanesi - Cookie Consent Banner Styles
 */

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(26, 47, 38, 0.98);
    color: #e8dcc4;
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: cookieSlideUp 0.4s ease-out;
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes cookieSlideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

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

.cookie-consent-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.cookie-consent-icon {
    font-size: 2.5rem;
    color: #d4a574;
    flex-shrink: 0;
    line-height: 1;
}

.cookie-consent-text h3 {
    font-family: 'Cormorant Garamond', serif;
    color: #d4a574;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cookie-consent-text p {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    color: #e8dcc4;
    font-weight: 500;
}

.cookie-consent-text a {
    color: #d4a574;
    text-decoration: underline;
    transition: color 0.3s;
}

.cookie-consent-text a:hover {
    color: #e8c9a0;
}

/* Buttons */
.cookie-consent-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cookie-accept-all {
    background: #d4a574;
    color: #1a2f26;
}

.btn-cookie-accept-all:hover {
    background: #b8935f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.btn-cookie-necessary {
    background: transparent;
    color: #d4a574;
    border: 2px solid #d4a574;
}

.btn-cookie-necessary:hover {
    background: rgba(212, 165, 116, 0.15);
}

.btn-cookie-settings {
    background: transparent;
    color: #e8dcc4;
    border: 2px solid rgba(232, 220, 196, 0.4);
}

.btn-cookie-settings:hover {
    border-color: #e8dcc4;
    background: rgba(232, 220, 196, 0.1);
}

.btn-cookie-save {
    background: #d4a574;
    color: #1a2f26;
}

.btn-cookie-save:hover {
    background: #b8935f;
}

/* Cookie Details Section */
.cookie-consent-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-category {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.cookie-category:last-of-type {
    margin-bottom: 1.5rem;
}

.cookie-category-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    font-size: 1rem;
}

.cookie-category-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #d4a574;
    cursor: pointer;
}

.cookie-category-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-category-name {
    color: #e8dcc4;
}

.cookie-category-required {
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
    font-style: italic;
}

.cookie-category-desc {
    font-size: 0.85rem;
    color: #aaa;
    margin: 0.75rem 0 0 2rem;
    line-height: 1.5;
}

.cookie-details-actions {
    display: flex;
    justify-content: flex-end;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 1.25rem 1rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-consent-icon {
        font-size: 2rem;
    }

    .cookie-consent-text h3 {
        font-size: 1.1rem;
    }

    .cookie-consent-text p {
        font-size: 0.9rem;
    }

    .cookie-consent-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-cookie {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.25rem;
    }

    .cookie-category {
        padding: 0.75rem;
    }

    .cookie-category-desc {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .cookie-details-actions {
        justify-content: stretch;
    }

    .cookie-details-actions .btn-cookie {
        width: 100%;
    }
}

/* Kleiner Bildschirm - Banner kompakter */
@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 1rem;
    }

    .cookie-consent-icon {
        display: none;
    }

    .cookie-consent-text h3 {
        font-size: 1rem;
    }

    .cookie-consent-text p {
        font-size: 0.85rem;
    }

    .btn-cookie {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }
}
