/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    padding: 30px 15px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Navigation Bar */
.navbar {
    background: #222;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.navbar li {
    margin: 0;
}

.navbar a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 25px;
    transition: background 0.3s ease;
}

.navbar a:hover {
    background: #444;
}

/* Sections */
section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
}

.hero h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1em;
    margin: 10px 0;
}

/* Products Section */
.products-section {
    background: #fff;
}

.products-section h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #333;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Product Card */
.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    color: #fff;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.product-description {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 15px;
    min-height: 40px;
}

.product-price {
    font-size: 1.6em;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 10px;
}

.stock-status {
    font-size: 0.9em;
    margin-bottom: 15px;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.stock-status.in-stock {
    background: #d4edda;
    color: #155724;
}

.stock-status.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

/* Button */
.btn {
    background: #000;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-block;
    font-size: 1em;
    font-weight: bold;
}

.btn:hover {
    background: #333;
}

.btn.add-to-cart {
    width: 100%;
    padding: 12px;
}

/* Contact Section */
.contact-section {
    text-align: center;
    background: #f9f9f9;
}

.contact-section h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #666;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 25px;
    text-align: center;
    margin-top: 50px;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .navbar ul {
        flex-direction: column;
    }

    .navbar a {
        text-align: center;
        padding: 12px 15px;
    }

    .products-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .hero h2 {
        font-size: 1.8em;
    }

    .products-section h2 {
        font-size: 1.8em;
    }
}
