@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&family=Georgia:wght@400;700&display=swap');

:root {
    --primary-color: #2d8659;
    --accent-color: #8b6f47;
    --background-color: #ffffff;
    --secondary-color: #9caf88;
    --text-color: #2c3e2d;
    --light-text: #5a6b5c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cabin', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--light-text);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--background-color);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-family: 'Cabin', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    font-family: 'Cabin', sans-serif;
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

main {
    min-height: calc(100vh - 350px);
}

.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--background-color);
    padding: 4rem 0;
}

.hero .container.col {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero h1 {
    color: var(--background-color);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: left;
}

.hero p {
    color: var(--background-color);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero img {
    max-width: 400px;
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--accent-color);
    color: var(--background-color);
    border-radius: 5px;
    font-family: 'Cabin', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--background-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    margin-bottom: 0.5rem;
}

.features {
    background-image: url('../images/hero-indoor-plants.jpg');
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 1200px;
    margin: 0 auto;
    place-content: center;
}
.bg-feature{
    place-content: center;
    background-image: url('../images/watering-plants.jpg');
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-feature p{
    color: white;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item h3 {
    margin-top: 1rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content.flex-layout {
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    text-align: left;
}

.about-content.flex-layout .text-content {
    flex: 1;
}

.about-content.flex-layout img {
    max-width: 400px;
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f8f9f8;
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Cabin', sans-serif;
    font-weight: 500;
    color: var(--text-color);
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    font-family: 'Georgia', serif;
    font-size: 1rem;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

form textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

footer {
    background-color: var(--text-color);
    color: var(--background-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--background-color);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #d0d0d0;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: var(--background-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-links a {
    font-size: 0.9rem;
}

.privacy-popup {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    max-width: 400px;
    z-index: 10000;
    border: 2px solid var(--primary-color);
}

.privacy-popup.active {
    display: block;
}

.privacy-popup p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.privacy-popup-buttons {
    display: flex;
    gap: 1rem;
}

.privacy-popup-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.success-page {
    text-align: center;
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.success-page h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.success-page p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    .logo{
        font-size: 1.2rem;
    }
    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero .container.col {
        flex-direction: column;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        text-align: center;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero img {
        max-width: 100%;
    }

    .about-content.flex-layout {
        flex-direction: column;
        text-align: center;
    }

    .about-content.flex-layout .text-content {
        text-align: center;
    }

    .about-content.flex-layout img {
        max-width: 100%;
    }

    section {
        padding: 2rem 0;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .privacy-popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.25rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    form {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

