* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f8f8f8;
    color: #333;
}

header {
    background-color: #2e7d32;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav li {
    margin-left: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
}

nav a.active,
nav a:hover {
    border-bottom: 2px solid white;
}

/* Catalog specific styles */

.catalog-hero {
    background-color: #4caf50;
    color: white;
    text-align: center;
    padding: 3rem 1rem;
}

.catalog-hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.catalog-hero p {
    font-size: 1.2rem;
}

.filters {
    padding: 2rem;
    text-align: center;
    background-color: #e8f5e9;
}

.filters h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.filter-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    background-color: white;
    border: 1px solid #2e7d32;
    color: #2e7d32;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #2e7d32;
    color: white;
}

.catalog {
    padding: 2rem;
}

.plants-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.plant-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.plant-image {
    width: 100%;
    height: 180px;
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.plant-item h3 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.plant-item p {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.price {
    font-weight: bold;
    color: #2e7d32;
    display: block;
    margin: 0.5rem 0;
}

.more-btn {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 0.5rem;
}

.more-btn:hover {
    background-color: #2e7d32;
}

/* Footer styles */

footer {
    background-color: #2e7d32;
    color: white;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer div {
    margin-bottom: 1.5rem;
    flex: 1;
    min-width: 200px;
}

footer h3 {
    margin-bottom: 1rem;
}

.copyright {
    flex-basis: 100%;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Responsive styles */

@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    nav ul {
        margin-top: 1rem;
    }
    .filter-options {
        flex-direction: column;
        align-items: center;
    }
}



footer iframe {
    width: 100%;
    height: 300px;
    max-width: 100%;
    border: 0;
    display: block;
    margin-bottom: 1.5rem; 
}

footer .contact,
footer .hours {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        align-items: center;
    }

    footer .content {
        order: 1;
    }

    footer .contact {
        order: 2;
    }

    footer .hours {
        order: 3;
    }

    footer .copyright {
        order: 4;
        margin-top: 1.5rem;
    }

    footer iframe {
        height: 250px;
        margin-bottom: 1.5rem;
    }
}





footer .content {
    padding-right: 1rem; 
}

footer .contact {
    padding-left: 1rem; 
}
