:root {
    --primary-bg: #ffffff;
    --secondary-bg: #f8f9fa;
    --text-primary: #000000;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --accent-blue: #e3f2fd;
    --accent-green: #e8f5e9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.65;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

h1 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-secondary);
}

a {
    color: var(--text-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--text-secondary);
}

nav a {
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

.navbar {
    background-color: var(--primary-bg) !important;
}

.navbar-brand {
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--text-primary) !important;
    margin-left: 1.5rem;
    font-size: 0.95rem;
}

.nav-link:hover {
    opacity: 0.7;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    padding: 3rem 2rem;
    max-width: 600px;
    border: 1px solid var(--border-color);
}

.hero-overlay h1 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.hero-overlay p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.btn-flat {
    background-color: #f5f6f7;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-flat:hover {
    background-color: var(--accent-blue);
    border-color: #cce0ff;
    color: var(--text-primary);
    text-decoration: none;
}

.btn-secondary {
    background-color: #f5f6f7;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--accent-blue);
    color: var(--text-primary);
    border-color: #cce0ff;
}

.btn-outline-secondary {
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-bg);
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-sm {
    padding: 0.35rem 1rem;
    font-size: 0.875rem;
}

.btn-group .btn {
    border-radius: 0;
    margin: 0.25rem;
}

.card {
    border: 1px solid var(--border-color) !important;
    background-color: var(--primary-bg);
    box-shadow: none;
    margin-bottom: 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-body h3, .card-body h5 {
    margin-top: 0;
}

.card.border-light {
    border-color: var(--border-color) !important;
}

.bg-light {
    background-color: var(--secondary-bg) !important;
}

.border-top, .border-bottom {
    border-color: var(--border-color) !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    display: block;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

.text-muted {
    color: var(--text-secondary) !important;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.faq-section {
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border: 1px solid var(--border-color);
    background-color: var(--primary-bg);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-control:focus {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 0.2rem rgba(227, 242, 253, 0.25);
}

.form-check-label {
    font-size: 0.95rem;
}

.form-check-label a {
    color: var(--text-primary);
    text-decoration: underline;
}

.alert {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.alert-light {
    background-color: var(--secondary-bg) !important;
}

.alert-heading {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.cookie-banner p {
    margin-bottom: 0;
}

footer {
    background-color: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

footer h6 {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
}

footer a:hover {
    text-decoration: underline;
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.container {
    max-width: 1000px;
}

.row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.col-md-12, .col-md-8, .col-md-6, .col-md-4 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

hr {
    border-color: var(--border-color);
    margin: 2rem 0;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.align-items-center {
    align-items: center !important;
}

.font-weight-bold {
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-overlay {
        padding: 2rem 1rem;
    }

    .nav-link {
        margin-left: 1rem;
        font-size: 0.85rem;
    }

    .text-right {
        text-align: left;
        margin-top: 1rem;
    }

    .btn-group {
        display: flex;
        flex-direction: column;
    }

    .btn-group .btn {
        margin: 0.5rem 0;
        width: 100%;
    }

    .cookie-banner {
        position: relative;
    }

    footer .col-md-6 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .hero-section {
        height: 40vh;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-overlay {
        max-width: 100%;
    }

    nav .navbar-brand {
        font-size: 1rem;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    ul, ol {
        margin-left: 1rem;
    }
}
