:root {
    --primary-color: #1e3a5f;
    --primary-dark: #0f2340;
    --accent-color: #d4a574;
    --light-bg: #f8f7f4;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0ddd9;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.875rem;
    line-height: 1.3;
    margin-top: 2rem;
}

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

h4 {
    font-size: 1.25rem;
    margin-top: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

button {
    transition: all 0.3s ease;
}

.navbar {
    background-color: #ffffff !important;
    padding: 1rem 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-dark) !important;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

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

.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(30, 58, 95, 0.65), rgba(30, 58, 95, 0.75));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e8e5e0;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.content-block {
    margin-bottom: 3rem;
}

.content-block img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    padding: 0.75rem 1.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.btn-outline-secondary {
    color: var(--text-dark);
    border-color: var(--border-color);
    background-color: transparent;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
}

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

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

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
}

footer {
    background-color: var(--light-bg) !important;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

footer h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

footer p, footer a {
    font-size: 0.95rem;
    color: var(--text-light);
}

footer a {
    display: inline-block;
    margin-bottom: 0.5rem;
}

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

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 1.5rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.cookie-banner a {
    color: var(--accent-color);
}

.cookie-banner a:hover {
    text-decoration: underline;
}

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

.contact-form {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

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

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.75rem;
    background-color: #ffffff;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
    color: var(--text-dark);
}

.form-check-label {
    color: var(--text-dark);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.form-check-input {
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.alert {
    border-radius: 4px;
    border-left: 4px solid;
}

.alert-info {
    background-color: #e8f4f8;
    border-left-color: var(--primary-color);
    color: var(--primary-dark);
}

.alert-warning {
    background-color: #fff8e8;
    border-left-color: var(--accent-color);
    color: #8b7355;
}

.alert-heading {
    color: var(--primary-color);
    font-weight: 600;
}

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

ul li, ol li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    line-height: 1.8;
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

.text-balance {
    text-wrap: balance;
}

.text-pretty {
    text-wrap: pretty;
}

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

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-section {
        height: 350px;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }

    .cookie-banner {
        padding: 1rem 0;
    }

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

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

    .contact-form {
        padding: 1.5rem;
    }

    .btn-lg {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }
}

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

    h2 {
        font-size: 1.35rem;
    }

    .hero-section {
        height: 300px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .content-block {
        margin-bottom: 2rem;
    }

    footer .row {
        flex-direction: column;
    }

    footer h5 {
        margin-top: 1.5rem;
    }
}
