/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    color: #2d5a27;
    font-size: 1.8rem;
    font-weight: 700;
}

.tagline {
    color: #666;
    font-size: 0.85rem;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2d5a27;
}

/* Main Content Spacing */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d5a27;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary, .btn-product {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #2d5a27;
    color: white;
}

.btn-primary:hover {
    background: #1f3e1b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #2d5a27;
    border: 2px solid #2d5a27;
}

.btn-secondary:hover {
    background: #2d5a27;
    color: white;
}

.btn-product {
    background: #f0f8f0;
    color: #2d5a27;
    border: 1px solid #2d5a27;
    font-size: 0.9rem;
    padding: 8px 16px;
}

.btn-product:hover {
    background: #2d5a27;
    color: white;
}

.placeholder-image {
    background: linear-gradient(135deg, #e8f5e8, #d0e8d0);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d5a27;
    font-weight: 600;
    border-radius: 12px;
}

/* Trust Section */
.trust-section {
    background: white;
    padding: 4rem 0;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem;
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.trust-item h3 {
    color: #2d5a27;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Featured Products */
.featured-products {
    padding: 4rem 0;
}

.featured-products h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #2d5a27;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.product-image {
    position: relative;
    height: 200px;
}

.product-image .placeholder-image {
    height: 100%;
    margin: 0;
    border-radius: 0;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-badge.best-seller {
    background: #ff6b6b;
    color: white;
}

.product-badge.eco {
    background: #51cf66;
    color: white;
}

.product-badge.new {
    background: #339af0;
    color: white;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: #2d5a27;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-features {
    margin-bottom: 1rem;
}

.feature-tag {
    display: inline-block;
    background: #f0f8f0;
    color: #2d5a27;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d5a27;
    margin-bottom: 1rem;
}

.view-all {
    text-align: center;
}

/* About Section */
.about-section {
    background: white;
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: #2d5a27;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-features {
    margin-top: 2rem;
}

.feature {
    margin-bottom: 1.5rem;
}

.feature h4 {
    color: #2d5a27;
    margin-bottom: 0.5rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2d5a27, #4a7c59);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Filter Section */
.filter-section {
    padding: 2rem 0;
}

.filter-section h3 {
    color: #2d5a27;
    margin-bottom: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f0f8f0;
    color: #2d5a27;
    border: 1px solid #2d5a27;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Products Catalog */
.products-catalog {
    padding: 2rem 0 4rem;
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
}

.breadcrumb a {
    color: #2d5a27;
    text-decoration: none;
}

.breadcrumb span {
    color: #666;
}

/* Product Detail */
.product-detail {
    padding: 3rem 0;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.product-gallery .placeholder-image {
    height: 400px;
}

.product-details h1 {
    color: #2d5a27;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-price-large {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d5a27;
    margin-bottom: 1.5rem;
}

.product-description {
    margin-bottom: 2rem;
}

.product-specs {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.product-specs h3 {
    color: #2d5a27;
    margin-bottom: 1rem;
}

.specs-list {
    list-style: none;
}

.specs-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.specs-list strong {
    color: #2d5a27;
    display: inline-block;
    min-width: 120px;
}

.care-instructions {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin-bottom: 2rem;
}

.care-instructions h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.related-products {
    background: #f8f9fa;
    padding: 4rem 0;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: #666;
}

/* Footer */
footer {
    background: #2d5a27;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #4a7c59;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 20px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .about-content,
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    main {
        margin-top: 120px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}
