@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Lora:wght@400;600;700&display=swap');

:root {
    --bg-warm-beige: #F5F1E8;
    --primary-terracotta: #D2691E;
    --accent-sage: #9CAF88;
    --secondary-lavender: #C8A2C8;
    --text-dark: #3A3A3A;
    --text-light: #6B6B6B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', serif;
    background-color: var(--bg-warm-beige);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary-terracotta);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-sage);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Merriweather', serif;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 900;
    color: var(--primary-terracotta);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: var(--primary-terracotta);
}

.nav-toggle:focus {
    outline: 2px solid var(--primary-terracotta);
    outline-offset: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-sage);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 4rem 1rem;
}

.hero {
    background: linear-gradient(135deg, var(--bg-warm-beige) 0%, #E8E0D0 100%);
    text-align: center;
    padding: 6rem 1rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--primary-terracotta);
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--primary-terracotta);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Lora', serif;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--accent-sage);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: var(--secondary-lavender);
}

.btn-secondary:hover {
    background-color: var(--accent-sage);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-terracotta);
    margin-bottom: 1rem;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.content-section {
    padding: 3rem 0;
}

.content-section:nth-child(even) {
    background-color: #fff;
}

.text-content h2 {
    color: var(--primary-terracotta);
    margin-bottom: 1.5rem;
}

.image-wrapper img {
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

form {
    max-width: 600px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    outline: none;
    border-color: var(--primary-terracotta);
}

form textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
    cursor: pointer;
}

.checkbox-group label {
    font-weight: 400;
    margin-bottom: 0;
    cursor: pointer;
}

footer {
    background-color: var(--text-dark);
    color: #fff;
    padding: 3rem 1rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--secondary-lavender);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #E0E0E0;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-lavender);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    color: #E0E0E0;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.privacy-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    padding: 2rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.privacy-popup.show {
    transform: translateY(0);
}

.privacy-popup-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.privacy-popup p {
    margin-bottom: 0;
    color: var(--text-dark);
}

.privacy-popup-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.privacy-popup .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.success-page {
    place-content: center;
    text-align: center;
    padding: 6rem 1rem;
    min-height: 60vh;
}

.success-page h1 {
    color: var(--accent-sage);
    margin-bottom: 1.5rem;
}

.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.legal-page h1 {
    color: var(--primary-terracotta);
    margin-bottom: 2rem;
}

.legal-page h2 {
    color: var(--accent-sage);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.legal-page h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.legal-page ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-page ul li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .logo{
        font-size: 1.2rem;
    }
    nav.active {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid #E0E0E0;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 1rem 0;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .privacy-popup-content {
        text-align: center;
    }

    .privacy-popup-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2rem 1rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    form {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 0.75rem;
    }

    section {
        padding: 1.5rem 0.75rem;
    }

    .hero {
        padding: 2rem 0.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

