:root {
    --primary-color: #4a1e5c;
    --secondary-color: #6b3580;
    --light-color: #f5f5f5;
    --dark-color: #2d2d2d;
    --text-color: #333;
    --border-color: #ddd;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    font-weight: bold;
}

.navbar .nav-link {
    margin-left: 1rem;
    transition: color 0.3s ease;
}

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

.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(74, 30, 92, 0.6);
    display: flex;
    align-items: center;
}

.hero-content {
    color: white;
    text-align: center;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    color: white;
    font-size: 1.2rem;
}

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

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

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

.card {
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.cta-section {
    background-color: var(--light-color);
    padding: 3rem 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

footer {
    background-color: var(--dark-color);
    color: white;
    margin-top: auto;
}

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

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

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

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

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

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

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content .btn {
    margin-left: 0.5rem;
}

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

.rounded {
    border-radius: 8px;
}

dl.row dt {
    font-weight: 600;
    color: var(--primary-color);
}

dl.row dd {
    margin-bottom: 1rem;
}

.alert {
    border-radius: 8px;
}

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

.form-group label {
    color: var(--primary-color);
    font-weight: 500;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.75rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 30, 92, 0.25);
}

.form-check-label {
    margin-left: 0.5rem;
}

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

.form-check-label a:hover {
    text-decoration: underline;
}

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

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-section {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

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

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-content .btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }

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

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

    footer {
        text-align: center;
    }

    .col-md-6.text-md-right {
        text-align: center;
    }

    .img-fluid.float-md-right {
        float: none;
        margin-right: 0;
    }
}
