/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #006400;
}

.btn {
    display: inline-block;
    background: #006400;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #004d00;
}

/* Header Styles */
.main-header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    color: #333;
    font-weight: 500;
}

.main-nav a:hover {
    color: #006400;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: url('hero.jpg') no-repeat center center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Grid Layouts */
.category-grid, .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.category-card, .product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.category-card:hover, .product-card:hover {
    transform: translateY(-5px);
}

.category-card img, .product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3, .product-card h3 {
    padding: 15px;
    font-size: 1.2rem;
}

.product-card .price {
    padding: 0 15px;
    font-weight: bold;
    color: #006400;
    font-size: 1.3rem;
}

.category-card .btn, .product-card .btn {
    display: block;
    margin: 15px;
    text-align: center;
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 50px 0;
}

.product-images img {
    width: 100%;
    border-radius: 8px;
}

.product-info h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.product-info .category {
    color: #666;
    margin-bottom: 20px;
}

.product-info .price {
    font-size: 1.8rem;
    color: #006400;
    margin: 20px 0;
}

.product-description, .product-specifications {
    margin: 30px 0;
}

.product-description h3, .product-specifications h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.product-actions {
    margin-top: 40px;
}

.inquire-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Footer */
.main-footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section a {
    color: #ddd;
}

.footer-section a:hover {
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 300px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .category-grid, .product-grid {
        grid-template-columns: 1fr;
    }
}
/* Admin Styles */
.admin-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.admin-form .form-group {
    margin-bottom: 20px;
}

.admin-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form input[type="file"],
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.admin-form textarea {
    min-height: 100px;
    resize: vertical;
}

.admin-form .checkbox {
    display: flex;
    align-items: center;
}

.admin-form .checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert.error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.alert.success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}