/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Header styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    color: #4CAF50;
    font-size: 2rem;
}

.logo p {
    color: #666;
    font-size: 0.9rem;
}

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

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

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #4CAF50;
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #45a049;
}

/* Featured products */
.featured-products {
    padding: 80px 0;
}

.featured-products h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.product-card h3 {
    color: #4CAF50;
    margin-bottom: 15px;
}

/* Categories */
.categories {
    padding: 80px 0;
    background-color: #eef2f3;
}

.categories h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.category-card h3 {
    color: #4CAF50;
    margin-bottom: 20px;
}

.category-card a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Responsive design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* Product detail page */
.product-detail {
    padding: 50px 0;
}

.product-detail-header {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.product-images {
    flex: 1;
    min-width: 300px;
}

.product-info {
    flex: 2;
    min-width: 300px;
}

.product-info h1 {
    color: #4CAF50;
    margin-bottom: 20px;
}

.rating {
    color: #FFD700;
    margin-bottom: 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 20px;
}

.specifications {
    margin: 30px 0;
}

.specifications ul {
    list-style: none;
}

.specifications ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.specifications ul li:last-child {
    border-bottom: none;
}

/* FAQ page */
.faq-section {
    padding: 50px 0;
}

.faq-item {
    margin-bottom: 20px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    font-weight: bold;
    color: #4CAF50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    margin-top: 15px;
    display: none;
}

.faq-answer.active {
    display: block;
}

.toggle-icon {
    font-size: 1.5rem;
}

/* Category page */
.category-header {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../assets/category-bg.jpg');
    background-size: cover;
    color: white;
    margin-bottom: 50px;
}

.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #4CAF50;
    text-decoration: none;
}

.filters {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

/* Content pages */
.content-page {
    padding: 50px 0;
}

.content-page h1 {
    color: #4CAF50;
    margin-bottom: 30px;
}

.content-page h2 {
    color: #4CAF50;
    margin: 30px 0 15px 0;
}

.content-page p {
    margin-bottom: 20px;
}

.content-page ul, .content-page ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-page li {
    margin-bottom: 10px;
}