:root {
    --primary-bg: #fdfcf8;
    --secondary-bg: #f9f7f2;
    --accent-green: #a8b5a2;
    --accent-yellow: #f0e8d5;
    --text-dark: #2e2e2e;
    --text-light: #666666;
    --border-color: #e8e5de;
}

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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-dark);
    line-height: 1.75;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

h2 {
    font-size: 1.75rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

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

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

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

em {
    font-style: italic;
    color: var(--accent-green);
}

hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 3rem 0;
}

.divider {
    margin: 4rem 0;
    opacity: 0.5;
}

navbar {
    background-color: var(--primary-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--accent-green);
}

.brand-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
    letter-spacing: 0.5px;
}

.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    background: linear-gradient(to top, rgba(253, 252, 248, 0.95), transparent);
    width: 100%;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-content .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-section-small {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
}

.hero-section-small h1 {
    margin-bottom: 0.5rem;
}

.hero-section-small p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

.btn-custom {
    background-color: var(--primary-bg);
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-custom:hover {
    background-color: var(--accent-green);
    color: var(--primary-bg);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.reference-section {
    margin-bottom: 3rem;
}

.reference-section img {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-image {
    width: 100%;
    height: auto;
    display: block;
}

.example-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.reference-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.reference-list li:before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 600;
}

.terms-block {
    background-color: var(--secondary-bg);
    padding: 2rem;
    border-left: 4px solid var(--accent-green);
    border-radius: 4px;
    margin-bottom: 2rem;
}

.terms-block p {
    margin-bottom: 1rem;
}

.terms-block p:last-child {
    margin-bottom: 0;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-yellow);
    padding-bottom: 0.5rem;
}

.about-section h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.example-composition {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--secondary-bg);
    border-radius: 4px;
}

.example-composition h3 {
    margin-top: 0;
}

.example-composition em {
    color: var(--accent-green);
    font-style: italic;
}

.contact-form {
    margin-top: 2rem;
}

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

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

.contact-form .form-control:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 0.2rem rgba(168, 181, 162, 0.25);
}

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

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

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

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

.thank-you-section {
    padding: 4rem 2rem;
}

.thank-you-card {
    background-color: var(--secondary-bg);
    padding: 3rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-green);
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-card p {
    color: var(--text-dark);
    line-height: 1.8;
}

.footer {
    background-color: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--accent-green);
    font-size: 0.95rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text-dark);
}

.footer hr {
    margin: 2rem 0 1rem;
    opacity: 0.3;
}

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

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

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

.cookie-banner button {
    margin-left: 0.5rem;
    white-space: nowrap;
}

.legal-section {
    line-height: 1.8;
}

.legal-section h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
}

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

    h2 {
        font-size: 1.5rem;
    }

    .hero-section {
        height: 300px;
    }

    .hero-content {
        padding: 3rem 1rem 1.5rem;
    }

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

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

    .hero-section-small {
        padding: 2rem 1rem;
    }

    .hero-section-small h1 {
        font-size: 1.75rem;
    }

    .btn-custom,
    .btn-outline {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }

    .reference-section {
        margin-bottom: 2rem;
    }

    .example-composition {
        padding: 1rem;
        margin-bottom: 2rem;
    }

    .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 {
        margin: 0.25rem 0.25rem 0.25rem 0;
    }

    .thank-you-card {
        padding: 2rem 1.5rem;
    }

    .cta-section {
        padding: 2rem 1rem;
    }

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

    .footer h5:first-child {
        margin-top: 0;
    }
}
