:root {
    --primary-dark: #2d2d2d;
    --primary-light: #e8e3d8;
    --accent-green: #3d5a47;
    --accent-terracotta: #8b6f47;
    --text-dark: #333333;
    --text-light: #f5f5f5;
}

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

html, body {
    height: 100%;
}

body {
    background-color: #fafaf8;
    color: var(--text-dark);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.navbar {
    background-color: var(--primary-dark) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    color: var(--primary-light) !important;
    font-weight: 600;
}

.navbar-brand:hover {
    color: var(--accent-green) !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

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

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

.hero-overlay {
    position: absolute;
    z-index: 2;
    text-align: center;
    color: white;
    background: rgba(45, 45, 45, 0.4);
    padding: 3rem;
    max-width: 600px;
}

.hero-overlay h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

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

.btn-primary:hover {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    box-shadow: 0 4px 12px rgba(61, 90, 71, 0.3);
}

.btn-dark {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}

.btn-outline-dark {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
    font-weight: 600;
}

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

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

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.005em;
    border-bottom: 2px solid var(--accent-green);
    padding-bottom: 0.75rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--accent-terracotta);
}

h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #555;
}

.content-block {
    background-color: white;
    padding: 3rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.content-block:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.card {
    border: none;
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.card-title {
    color: var(--accent-terracotta);
    font-weight: 600;
}

.bg-light {
    background-color: #f9f7f3 !important;
}

img.img-fluid {
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

img.img-fluid:hover {
    transform: scale(1.02);
}

.text-muted {
    color: #888 !important;
}

footer {
    background-color: var(--primary-dark) !important;
    color: var(--text-light);
    margin-top: 4rem;
}

footer h5 {
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

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

hr.bg-secondary {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 0.375rem;
    padding: 0.75rem;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 0.2rem rgba(61, 90, 71, 0.25);
}

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

.custom-checkbox .custom-control-label {
    cursor: pointer;
    color: #555;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-dark);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

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

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

.cookie-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

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

.btn-outline-light {
    color: white;
    border-color: white;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.sticky-top {
    z-index: 1020;
}

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

.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

@media (max-width: 768px) {
    .hero-overlay {
        padding: 2rem;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .content-block {
        padding: 1.5rem;
    }

    .cookie-banner .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-banner div {
        width: 100%;
        flex-wrap: wrap;
    }

    .cookie-banner .btn {
        flex: 1;
        min-width: 120px;
    }

    footer {
        padding-top: 2rem !important;
    }

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