* {
    box-sizing: border-box;
}

:root {
    --primary-bg: #fafafa;
    --primary-text: #0d0d0d;
    --accent-lime: #d4ff00;
    --accent-blue: #00b4ff;
    --border-color: #e0e0e0;
    --light-gray: #f5f5f5;
    --text-muted: #666666;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
}

p {
    line-height: 1.6;
    font-size: 1rem;
}

.navbar {
    background-color: var(--primary-bg) !important;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary-text) !important;
}

.navbar-nav .nav-link {
    color: var(--primary-text) !important;
    font-weight: 500;
    margin-left: 2rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-blue) !important;
}

.hero-section {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    max-height: 600px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 13, 13, 0.3);
    display: flex;
    align-items: center;
    padding: 2rem;
}

.hero-content {
    color: white;
    z-index: 2;
}

.hero-content h1 {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

main {
    background-color: var(--primary-bg);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

main > .container > section {
    margin-bottom: 4rem;
}

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

section img:hover {
    border-color: var(--accent-blue);
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.btn-dark {
    background-color: var(--primary-text);
    border-color: var(--primary-text);
    color: var(--primary-bg);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--primary-text);
    transform: translateX(4px);
}

.btn-outline-dark {
    color: var(--primary-text);
    border: 2px solid var(--primary-text);
    background-color: transparent;
    font-weight: 600;
    padding: 0.65rem 1.75rem;
    transition: all 0.3s ease;
}

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

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

.bg-light.rounded {
    padding: 2rem;
}

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

footer {
    background-color: var(--light-gray);
    border-top: 1px solid var(--border-color);
}

footer h6 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

footer a {
    color: var(--primary-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-blue);
}

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

.border {
    border: 1px solid var(--border-color) !important;
}

.border-top {
    border-top: 1px solid var(--border-color) !important;
}

.border-bottom {
    border-bottom: 1px solid var(--border-color) !important;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--primary-text);
    background-color: var(--primary-bg);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.1);
    outline: none;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-text);
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-top: 1rem;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent-blue);
}

.checkbox-label a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--primary-text);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-bg);
    border-top: 2px solid var(--border-color);
    padding: 1.5rem 0;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    display: none;
}

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

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
}

.alert {
    border-radius: 0;
    border: 1px solid var(--border-color);
    background-color: var(--light-gray);
    color: var(--primary-text);
    padding: 1.5rem;
}

.alert h5 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

ul, ol {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
}

strong {
    font-weight: 700;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
}

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

    h2 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }

    .hero-section {
        min-height: 300px;
        max-height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content .lead {
        font-size: 1.05rem;
    }

    .navbar-nav .nav-link {
        margin-left: 1rem;
    }

    section {
        margin-bottom: 2rem;
    }

    section .row {
        flex-direction: column-reverse;
    }

    .cookie-banner .row {
        flex-direction: column;
    }

    .cookie-banner .col-md-8 {
        margin-bottom: 1rem;
    }

    .cookie-banner .col-md-4 {
        text-align: left !important;
    }

    .cookie-banner button {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    main {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

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

    h2 {
        font-size: 1.25rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .lead {
        font-size: 1.05rem;
    }

    .btn-dark, .btn-outline-dark {
        width: 100%;
        text-align: center;
    }

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