/* ========================================
   COOKIE CONSENT BANNER STYLES
   ========================================
   Displays a GDPR/CCPA compliant cookie notice
   
   HOW TO ADJUST:
   - Change colors via CSS variables below
   - Adjust position by changing bottom/left values
   - Modify animation timing in .cookie-consent transition
*/

/* Cookie banner container - fixed at bottom of screen */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    border-top: 2px solid var(--accent-color, #e67e22);
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    font-family: 'Montserrat', sans-serif;
}

/* Slide up when visible */
.cookie-consent.visible {
    transform: translateY(0);
}

/* Inner wrapper for content alignment */
.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Text content section */
.cookie-consent-text {
    flex: 1;
    min-width: 280px;
    color: #e0e0e0;
}

.cookie-consent-text h4 {
    margin: 0 0 0.5rem 0;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #b0b0b0;
}

.cookie-consent-text a {
    color: var(--accent-color, #e67e22);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-consent-text a:hover {
    color: #f39c12;
}

/* Button container */
.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Base button styles */
.cookie-btn {
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Accept button - prominent orange */
.cookie-btn-accept {
    background: var(--accent-color, #e67e22);
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background: #d35400;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.4);
}

/* Decline button - subtle outline */
.cookie-btn-decline {
    background: transparent;
    color: #b0b0b0;
    border: 1px solid #4a5568;
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #718096;
    color: #e0e0e0;
}

/* Settings/preferences link */
.cookie-btn-settings {
    background: transparent;
    color: #718096;
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
}

.cookie-btn-settings:hover {
    color: #e0e0e0;
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */

/* Tablet and smaller */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-text {
        min-width: 100%;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .cookie-consent-text h4 {
        font-size: 0.9rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.8rem;
    }
    
    .cookie-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* ==========================================
   COOKIE SETTINGS MODAL (optional future use)
   ========================================== */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.cookie-settings-modal.visible {
    display: flex;
}

.cookie-settings-content {
    background: #1a252f;
    border-radius: 8px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid #3a4a5a;
}
