:root {
    --color-forest-green: #2F6B3F;
    --color-olive: #708238;
    --color-earth-brown: #8B5E3C;
    --color-soft-beige: #F2EFEA;
    --color-white: #FFFFFF;

    --font-primary: 'Crimson Pro', serif;
    --font-secondary: 'Montserrat', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);

    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-earth-brown);
    background: var(--color-soft-beige);
    background-image:
            linear-gradient(120deg, rgba(47, 107, 63, 0.05) 0%, rgba(112, 130, 56, 0.05) 100%),
            url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zm-24.596 0l-5.485 5.486 1.414 1.414 7.9-7.9h-3.83zm16.97 0l-7.071 7.071 1.414 1.414L37.8 0h-2.113zm-9.9 0l-7.071 7.071 1.415 1.414L22.728 0H19.8zM40 0L26.142 13.858 27.556 15.272 42.413 0H40zm-14.142 0L12.887 12.971l1.414 1.414L26.443 0H25.86zm-5.188 0L9.9 10.757 11.315 12.17 20.701 0h-5.73zm10.03 0L29.9 10.757 28.487 12.17 19.1 0h5.73zM5.1 22.558L13.857 13.8l1.415 1.414-10.172 10.172-1.414-1.414zM9.9 26L18.244 17.657l1.414 1.414L10.286 27.414 9.9 26zm5.144 3.828L23.3 21.485l1.414 1.414-10.172 10.172-1.414-1.414zM20 42.5l6.364-6.364 1.414 1.414-7.778 7.778-1.414-1.414zM30 40.9l3.536-3.536 1.414 1.414L30 43.728l-4.95-4.95 1.414-1.414L30 40.9zm13.435 10.607l-1.414 1.414-7.07-7.07 1.413-1.415 7.07 7.07zm-9.9-7.07l1.415-1.414 7.07 7.07-1.414 1.415-7.07-7.07zm-1.414-2.83l-1.414 1.415-7.07-7.07 1.414-1.415 7.07 7.07z' fill='rgba(112, 130, 56, 0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-forest-green);
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

a {
    text-decoration: none;
    color: var(--color-earth-brown);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-earth-brown);
}

p {
    margin-bottom: var(--space-sm);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-olive);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-family: var(--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    background-color: var(--color-forest-green);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

header {
    background-color: rgb(255, 255, 255, 0.5);
    position: absolute;
    width: 100%;
    z-index: 100;
    transition: transform var(--transition-medium);
}

header.hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);

}

.logo {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-earth-brown);
    display: flex;
    align-items: center;
}

.logo .leaf {
    display: inline-block;
    margin-right: 8px;
    color: var(--color-forest-green);
    font-size: 1.8rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-earth-brown);
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-md);
}

nav a {
    font-family: var(--font-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-olive);
    transition: width var(--transition-medium);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(47, 107, 63, 0.8) 0%, rgba(112, 130, 56, 0.8) 100%), url("../img/hero-bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: var(--color-white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: var(--space-lg);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.leaf-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.leaf {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background-color: var(--color-soft-beige);
    opacity: 0.1;
    animation: fall linear infinite, sway ease-in-out infinite alternate;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

@keyframes sway {
    from {
        transform: translateX(-10px) rotate(-20deg);
    }
    to {
        transform: translateX(10px) rotate(20deg);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    padding: var(--space-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--color-olive);
    margin: var(--space-sm) auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.service-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-card-content {
    padding: var(--space-md);
}

.service-card-icon {
    font-size: 2rem;
    color: var(--color-olive);
    margin-bottom: var(--space-sm);
}

.about-section {
    background-color: var(--color-forest-green);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.about-section .section-title,
.about-section h2,
.about-section h3 {
    color: var(--color-white);
}

.about-section .section-title::after {
    background-color: var(--color-soft-beige);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.testimonials {
    text-align: center;
    padding: var(--space-xl) 0;
}

.testimonial-slider {
    margin: var(--space-lg) 0;
    position: relative;
    height: 300px;
    overflow: hidden;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-slow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-md);
}

.testimonial.active {
    opacity: 1;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: var(--space-md);
    max-width: 800px;
}

.testimonial-author {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--color-forest-green);
}

.cta-section {
    background-color: var(--color-olive);
    color: var(--color-white);
    text-align: center;
    padding: var(--space-lg) 0;
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.cta-section .btn {
    background-color: var(--color-white);
    color: var(--color-forest-green);
    margin-top: var(--space-md);
}

.cta-section .btn:hover {
    background-color: var(--color-soft-beige);
}

.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.contact-item i {
    color: var(--color-forest-green);
    font-size: 1.25rem;
    margin-top: 3px;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-form {
    background-color: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--color-forest-green);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-olive);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.form-check-input {
    margin-top: 5px;
}

.form-check-label {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.7);
}

footer {
    background-color: var(--color-forest-green);
    color: var(--color-white);
    padding: var(--space-lg) 0 var(--space-md);
    position: relative;
}

.footer-logo {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    display: inline-block;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.footer-column h3 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
}

.copyright {
    text-align: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.privacy-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-forest-green);
    color: var(--color-white);
    padding: var(--space-md);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--transition-medium);
}

.privacy-popup.show {
    transform: translateY(0);
}

.privacy-popup-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.privacy-popup-text {
    flex: 1;
    margin-right: var(--space-md);
}

.privacy-popup-buttons {
    display: flex;
    gap: var(--space-sm);
}

.privacy-popup .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.page-not-found {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-not-found h1 {
    font-size: 6rem;
    margin-bottom: var(--space-md);
}

.page-not-found p {
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.thank-you {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--color-olive);
    margin-bottom: var(--space-md);
}

.legal-page {
    padding-top: 120px;
    padding-bottom: var(--space-xl);
}

.legal-content {
    background-color: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.legal-content h2 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.home-button {
    display: inline-block;
    margin-top: var(--space-lg);
    font-family: var(--font-secondary);
    font-weight: 500;
}

.close-nav{
    display: none;
}

@media (max-width: 992px) {
    .logo{
        font-size: 1.2rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;
        background-color: rgb(255, 255, 255, 0.8);
        padding: var(--space-lg) var(--space-md);
        transform: translateX(100%);
        transition: transform var(--transition-medium);
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    nav.open {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .close-nav {
        position: absolute;
        top: var(--space-sm);
        right: var(--space-sm);
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--color-earth-brown);
        cursor: pointer;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content{
        padding: var(--space-sm);
    }

    html {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .privacy-popup-content {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .privacy-popup-text {
        margin-right: 0;
        margin-bottom: var(--space-sm);
    }
}

@media (max-width: 320px) {
    html {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}

.menu-open{
    overflow: hidden;
}