/* web/css/style.css */

/* --- Theme Variables --- */

/* Light Theme (Default) */
:root {
    --bs-body-bg: #f8f9fa;
    --bs-body-color: #212529;
    --bs-card-bg: #ffffff;
    --bs-card-border-color: rgba(0, 0, 0, 0.175);
    --bs-primary-rgb: 13, 110, 253; /* Keep Bootstrap primary blue */
}

/* Dark Theme */
[data-bs-theme="dark"] {
    --bs-body-bg: #212529;
    --bs-body-color: #dee2e6;
    --bs-card-bg: #2c3034;
    --bs-card-border-color: rgba(255, 255, 255, 0.125);
    --bs-primary-rgb: 13, 110, 253; /* Keep Bootstrap primary blue */
}

[data-bs-theme="dark"] .navbar {
    --bs-navbar-color: rgba(255, 255, 255, 0.75);
    --bs-navbar-hover-color: #ffffff;
}

[data-bs-theme="dark"] .footer {
    background-color: #2c3034;
}


/* --- General Styles --- */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

.footer {
    margin-top: auto;
    background-color: #e9ecef;
}

.hero-section {
    background-color: var(--bs-card-bg);
}

.card {
    background-color: var(--bs-card-bg);
    border-color: var(--bs-card-border-color);
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bs-card-bg);
    border-top: 1px solid var(--bs-card-border-color);
    padding: 1rem;
    z-index: 1050; /* High z-index to appear above other content */
    display: none; /* Hidden by default, shown by JS */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

[data-bs-theme="dark"] .cookie-banner {
    box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
}
