:root {
    --color-leaf: #6A994E;
    --color-cream: #FAFAF5;
    --color-sage: #A7C4A0;
    --color-terracotta: #D47B42;
    --color-charcoal: #2E2E2E;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;

    --shadow-small: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 8px 16px rgba(0, 0, 0, 0.1);

    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Cormorant Garamond', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-charcoal);
    background: var(--color-sage);
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-cream) 100%);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.bg-particle {
    position: absolute;
    background-color: rgba(167, 196, 160, 0.2);
    border-radius: 50%;
    filter: blur(4px);
    transform-origin: center;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    margin-bottom: var(--space-sm);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-terracotta);
    transition: width var(--transition-medium);
}

h2:hover:after {
    width: 100%;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--space-sm);
}

a {
    color: var(--color-leaf);
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
}

a:hover {
    color: var(--color-terracotta);
}

a:not(.btn):after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-terracotta);
    transition: width var(--transition-fast);
}

a:not(.btn):hover:after {
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background-color: var(--color-leaf);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
    z-index: -1;
}

.btn:hover {
    background-color: var(--color-terracotta);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.btn:hover:before {
    left: 100%;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-leaf);
    color: var(--color-leaf);
}

.btn-secondary:hover {
    background-color: var(--color-leaf);
    color: white;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-sm);
}

section {
    padding: var(--space-lg) 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-title h2 {
    display: inline-block;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-medium);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.header {
    padding: var(--space-sm) 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: transform var(--transition-medium), background-color var(--transition-medium);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.header.hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-leaf);
    z-index: 1000;
}

.logo-icon {
    margin-right: var(--space-xs);
    font-size: 2rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1002;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-leaf);
    position: absolute;
    left: 0;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle span:nth-child(1) {
    top: 0;
}

.nav-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle span:nth-child(3) {
    bottom: 0;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: var(--space-md);
    position: relative;
}

.nav-link {
    display: block;
    padding: var(--space-xs) 0;
    font-weight: 500;
    position: relative;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-leaf);
    transition: width var(--transition-fast);
}

.nav-link:hover:before,
.nav-link.active:before {
    width: 100%;
}

.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: url("../img/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
    background: rgb(255, 255, 255, 0.5);
    padding: var(--space-sm);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.7s;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.9s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image {
    position: absolute;
    right: 5%;
    bottom: 0;
    max-width: 45%;
    z-index: 0;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeIn 1s forwards 1.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.leaf-float {
    position: absolute;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 0;
    animation: floatLeaf 15s infinite linear;
}

@keyframes floatLeaf {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(100px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(50px, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.features {
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.feature-card {
    text-align: center;
    padding: var(--space-md);
}

.feature-icon {
    font-size: 3rem;
    color: var(--color-leaf);
    margin-bottom: var(--space-sm);
    transition: transform var(--transition-medium);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.product-card {
    position: relative;
    overflow: hidden;
}

.product-image {
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    transition: transform var(--transition-medium);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: var(--space-sm);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    margin-bottom: var(--space-xs);
    font-size: 1.3rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-terracotta);
    margin-bottom: var(--space-sm);
}

.product-description {
    flex-grow: 1;
    margin-bottom: var(--space-sm);
}

.testimonials {
    background-color: rgba(167, 196, 160, 0.2);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.testimonial-card {
    position: relative;
    padding-top: var(--space-lg);
}

.testimonial-quote {
    position: absolute;
    top: 0;
    left: var(--space-sm);
    font-size: 4rem;
    color: var(--color-terracotta);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: var(--space-sm);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: var(--space-sm);
}

.testimonial-name {
    font-weight: bold;
}

.testimonial-location {
    font-size: 0.9rem;
    color: var(--color-charcoal);
    opacity: 0.7;
}

.about {
    position: relative;
    overflow: hidden;
}

.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-large);
}

.about-image img {
    transition: transform var(--transition-medium);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h2 {
    text-align: left;
}

.about-text h2:after {
    left: 0;
    transform: none;
}

.plant-care {
    position: relative;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.care-card {
    text-align: center;
}

.care-icon {
    font-size: 2.5rem;
    color: var(--color-leaf);
    margin-bottom: var(--space-sm);
}

.contact {
    position: relative;
    background-color: rgba(167, 196, 160, 0.1);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--color-leaf);
    margin-right: var(--space-sm);
    min-width: 24px;
}

.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form {
    margin-top: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(46, 46, 46, 0.1);
    border-radius: var(--border-radius-sm);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-leaf);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    margin-right: var(--space-xs);
    margin-top: 5px;
}

.thank-you {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--color-leaf);
    margin-bottom: var(--space-md);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.error-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-content {
    max-width: 600px;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    color: var(--color-terracotta);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.error-icon {
    font-size: 4rem;
    color: var(--color-leaf);
    margin-bottom: var(--space-md);
}

.footer {
    background-color: var(--color-charcoal);
    color: white;
    padding: var(--space-md) 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-md);
}

.footer-logo {
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    display: inline-block;
}

.footer-text {
    margin-bottom: var(--space-sm);
    opacity: 0.8;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: var(--space-xs);
}

.footer-link a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-link a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

.cookie-popup {
    position: fixed;
    bottom: 20px;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: white;
    box-shadow: var(--shadow-large);
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
    z-index: 1000;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: fadeIn 0.5s forwards;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

@media (max-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-image {
        max-width: 40%;
    }
}

@media (max-width: 992px) {
    .features-grid,
    .products-grid,
    .testimonials-grid,
    .care-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content,
    .contact-container,
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .hero-image {
        opacity: 0.3;
        max-width: 50%;
        right: -10%;
    }

    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-md) var(--space-md);
        transition: right var(--transition-medium);
        box-shadow: var(--shadow-large);
        z-index: 1001;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .nav-link {
        padding: var(--space-sm) 0;
    }

    .hero {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .features-grid,
    .products-grid,
    .testimonials-grid,
    .care-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .logo{
        font-size: 1.2rem;
    }

    section {
        padding: var(--space-md) 0;
    }

    .container {
        width: 95%;
    }

    .btn {
        padding: 0.6rem 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: var(--space-sm);
    }
}

@media (max-width: 320px) {
    html {
        font-size: 12px;
    }
}

.page-header{
    margin-top: var(--space-lg);
}

.menu-open{
    overflow: hidden;
}