/* CSS Variables */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --highlight-color: #e94560;
    --text-light: #f5f5f5;
    --text-dark: #333;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main Content */
main {
    flex: 1;
    padding-top: 2rem;
}

/* Navbar */
.navbar {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--highlight-color) !important;
}

.navbar-brand i {
    margin-right: 0.5rem;
}

.nav-link {
    color: var(--text-light) !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--highlight-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--highlight-color);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Language Switcher */
.language-switcher select {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
    cursor: pointer;
}

.language-switcher select:focus {
    box-shadow: 0 0 0 0.2rem rgba(233, 69, 96, 0.25);
    border-color: var(--highlight-color);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    padding: 2rem 0;
    margin-top: auto;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--highlight-color) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--highlight-color);
    border-color: var(--highlight-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d63650;
    border-color: #d63650;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.3);
}

.btn-outline-light:hover {
    background-color: var(--highlight-color);
    border-color: var(--highlight-color);
}

/* Cards */
.card {
    background-color: var(--secondary-color);
    border: 1px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    border-top: 2px solid var(--highlight-color);
    padding: 1.5rem 0;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    animation: slideUp 0.5s ease-out;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text h5 {
    margin: 0 0 0.25rem 0;
    color: var(--text-light);
}

.cookie-text p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.cookie-text a {
    color: var(--highlight-color);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}
