/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Hero Banner */
.hero-banner {
    background: url('assets/banner.jpg') no-repeat center center/cover;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.hero-content {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 5px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.search-bar {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.search-bar input {
    padding: 10px;
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-bar button {
    padding: 10px 20px;
    background-color: #e63946;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-bar button:hover {
    background-color: #c0273b;
}

/* Categories Section */
.categories-section {
    margin: 40px 0;
    text-align: center;
}

.categories-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
    transition: box-shadow 0.3s, transform 0.3s;
}

.category-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.category-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Featured Products Section */
.featured-section {
    margin: 40px 0;
}

.featured-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}

.product-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.product-image-container {
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    overflow: hidden;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.product-details {
    padding: 15px;
}

.product-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.product-price {
    color: #e63946;
    font-size: 1.1rem;
    margin: 10px 0;
    font-weight: bold;
}

.btn-primary {
    background-color: #0366d6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #025bb5;
}

.btn-disabled {
    background-color: #ccc;
    color: #666;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    cursor: not-allowed;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
}
