:root {
    --primary-color: #1a3a52;
    --primary-light: #2d5a7b;
    --primary-dark: #0f2538;
    --accent-color: #c8a97f;
    --neutral-light: #f5f3f0;
    --neutral-medium: #d4d0cc;
    --neutral-dark: #4a4a4a;
    --text-color: #2c2c2c;
    --border-color: #e0e0e0;
}

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

html, body {
    height: 100%;
}

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

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.navbar-brand:hover .brand-logo {
    color: var(--primary-light);
}

.nav-link {
    margin-left: 1.5rem;
    font-weight: 500;
    color: var(--text-color) !important;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.nav-link.active {
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    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: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 82, 0.6);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    color: white;
    text-align: center;
    z-index: 3;
    width: 100%;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
    font-size: 1.3rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Page Header */
.page-header {
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    font-size: 1.8rem;
}

h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

h4 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h5 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

.lead {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--neutral-dark);
}

ul {
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Sections */
section {
    padding: 3rem 0;
}

.bg-white {
    background-color: #ffffff;
}

.bg-light {
    background-color: var(--neutral-light);
}

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

/* Images */
img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    color: white;
}

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

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

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

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 58, 82, 0.25);
}

label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.custom-control-label {
    user-select: none;
    margin-bottom: 0;
}

/* Alerts */
.alert {
    border-radius: 4px;
    border: 1px solid;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.alert h4 {
    color: inherit;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

footer h5 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

footer p {
    font-size: 0.95rem;
    color: #cccccc;
}

footer a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-dark);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

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

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

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

    .page-header h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    section {
        padding: 2rem 0;
    }

    .nav-link {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }

    .hero-section {
        height: 300px;
    }

    .cookie-banner .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner button {
        margin-top: 1rem;
        align-self: flex-start;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-section {
        height: 250px;
    }

    .page-header {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    main {
        min-height: auto;
    }

    section {
        padding: 1.5rem 0;
    }

    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--neutral-dark);
}

.text-light {
    color: #ffffff;
}

.text-danger {
    color: #dc3545;
}

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

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

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

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

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

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

.list-unstyled {
    list-style: none;
    padding-left: 0;
}

.list-unstyled li {
    margin-bottom: 0.75rem;
}

/* Text utilities */
.text-balance {
    text-wrap: balance;
}
