/* Cookie Consent Banner Styles
 * Filename: cookie-consent.css
 * Location: /public_html/css/cookie-consent.css
 * Purpose: GDPR-compliant cookie consent banner styling
 */

/* Cookie Consent Container */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    border-top: 2px solid rgba(107, 70, 193, 0.5);
    padding: 1.5rem 2rem;
    z-index: 10000;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-consent.show {
    bottom: 0;
}

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

.cookie-text {
    flex: 1;
    min-width: 300px;
    color: #FFFFFF;
    line-height: 1.6;
}

.cookie-text strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #6B46C1, #00CED1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.cookie-buttons .btn-primary {
    background: linear-gradient(135deg, #6B46C1, #00CED1);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 70, 193, 0.4);
}

.cookie-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.6);
}

.cookie-buttons .btn-secondary {
    background: transparent;
    color: #00CED1;
    border: 2px solid #00CED1;
}

.cookie-buttons .btn-secondary:hover {
    background: rgba(0, 206, 209, 0.1);
    border-color: #FFD700;
    color: #FFD700;
}

/* Cookie Settings Link (optional - for managing preferences later) */
.cookie-manage {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(26, 26, 46, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(107, 70, 193, 0.3);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s;
    display: none; /* Show after initial consent */
}

.cookie-manage.show {
    display: block;
}

.cookie-manage:hover {
    background: rgba(26, 26, 46, 1);
    border-color: rgba(107, 70, 193, 0.8);
    transform: translateY(-2px);
}

.cookie-manage a {
    color: #00CED1;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
    
    .cookie-text strong {
        font-size: 1rem;
    }
    
    .cookie-text {
        font-size: 0.9rem;
    }
}

/* Animation classes */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.cookie-consent.show {
    animation: slideUp 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-consent.hide {
    animation: slideDown 0.3s ease-out;
}
