* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #2c6e49;
    --secondary-color: #4c956c;
    --accent-color: #fefee3;
    --dark-color: #1a3a1f;
    --light-color: #f8f9fa;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: var(--light-color);
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

header h1 {
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

nav a:hover {
    color: var(--accent-color);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

main {
    margin-top: 120px;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('https://images.unsplash.com/photo-1585320806297-9794b3e4eeae');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-in-out;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1.5s ease-in-out;
}

.search-container {
    margin-top: 2rem;
    display: flex;
    max-width: 500px;
    width: 100%;
    animation: fadeIn 2s ease-in-out;
}

.search-input {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.search-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.search-button:hover {
    background-color: white;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    animation: fadeIn 2.5s ease-in-out;
}

.hero-btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plants-grid {
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.plants-grid h2 {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.plants-grid h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.plant-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.plant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.plant-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.plant-card:hover img {
    transform: scale(1.05);
}

.plant-card h3 {
    padding: 1.2rem 1.2rem 0.5rem;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.plant-card p {
    padding: 0 1.2rem 1rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.learn-more {
    display: inline-block;
    margin: 0 1.2rem 1.2rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: var(--transition);
    text-align: center;
}

.learn-more:hover {
    background-color: var(--secondary-color);
}

.care-section {
    background-color: #f0f7f4;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.care-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1621693247912-984a9aee42f9') no-repeat;
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.care-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    z-index: 1;
}

.care-section h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.care-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tip {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.tip:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background-color: rgba(44, 110, 73, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.tip h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.tip p {
    color: #666;
    line-height: 1.7;
}

.contact-section {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

input, textarea {
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 149, 108, 0.2);
}

textarea {
    height: 150px;
    resize: vertical;
}

button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    font-weight: 600;
}

button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }
    
    .hero {
        height: 60vh;
    }
    
    .search-container {
        max-width: 90%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .plants-grid {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
    }
    
    .plant-card img {
        height: 200px;
    }
    
    .care-tips {
        gap: 1.5rem;
    }
    
    .tip {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section ul li a:hover {
        padding-left: 0;
    }
    
    .social-links {
        align-items: center;
    }
} 