:root {
    --primary-color: #003e16;
    --accent-color: #4CAF50;
    --bg-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --container-width: 1200px;
}

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

body {
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 40px 20px;
}

.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 20px;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo_wrapper img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 20px;
}

.nav li .link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
}

.nav li.active .link,
.nav li .link:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero-section {
    background: linear-gradient(rgba(0, 62, 22, 0.8), rgba(0, 62, 22, 0.6)), url('../img/logo.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    border-radius: 0 0 20px 20px;
    margin-bottom: 40px;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.main_header, .section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
}

.main_header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.3s, background 0.3s;
}

.cta-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.categories-section {
    text-align: center;
    margin-bottom: 60px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 0 10px;
}

.cat-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: var(--text-color);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.cat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.15);
}

.cat-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.cat-card p {
    color: #666;
    font-size: 14px;
}

.about_us_wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.about_us_wrapper p {
    flex: 1;
    min-width: 300px;
    font-size: 18px;
    color: var(--text-light);
    text-align: justify;
}

.about-short {
    background: #e9ecef;
    padding: 40px 20px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 40px;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #444;
}

.gallery_wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.product_wrapper {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product_wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.15);
}

.img_wrapper {
    height: 250px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.img_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: opacity 0.3s;
}

.product_wrapper span {
    padding: 15px;
    text-align: center;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 16px;
    background: var(--white);
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact_container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.contact_card {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
}

.contact_card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.contact_info_item {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--text-light);
}

.contact_info_item strong {
    color: var(--text-color);
    margin-right: 5px;
}

.map-container h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}

#map {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

footer p {
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }
    
    .nav {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav li {
        margin: 5px 10px;
    }

    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }

    .about_us_wrapper {
        flex-direction: column;
    }
    
    .main_header {
        font-size: 24px;
    }
}