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

body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9; /* Light background for contrast */
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    margin: 0 auto;
}

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

body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9; /* Lighter gray background for better contrast */
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    margin: 0 auto;
}

/* Header Section */
header {
    background-color: #1d1d1d; /* Black background */
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

header h1 {
    margin-left: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

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

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #e74c3c; /* Red on hover */
    transform: translateY(-3px);
}

/* Hero Section (Home Page) */
.hero {
    text-align: center;
    padding: 100px 20px;
    background-color: #e74c3c; /* Red background */
    color: white;
    border-radius: 0px;
    margin-top: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero .btn {
    padding: 15px 40px;
    background-color: white;
    color: #e74c3c; /* Red text */
    font-size: 1.2rem;
    border: 3px solid #e74c3c;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.hero .btn:hover {
    background-color: #e74c3c;
    color: white;
    transform: translateY(-5px);
}

/* About Section */
.about-us {
    padding: 80px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.about-us h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-us p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Footer Section */
footer {
    background-color: #1d1d1d; /* Black background */
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer p {
    font-size: 1rem;
    color: #ccc;
}


/* Shop Page (Product Display) */
.product-display {
    text-align: center;
    margin-top: 60px;
    padding: 20px 0;
    background-color: #fff; /* White background to make products stand out */
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-display h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 1px;
}

.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin: 0 auto;
}

.product {
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 22%;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    overflow: hidden; /* Ensure content doesn't spill outside */
}

.product:hover {
    transform: translateY(-10px); /* Raised effect */
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    background-color: #f1f1f1; /* Light gray background on hover */
}

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.product img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.product h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product p {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 15px;
}

/* Price Style */
.product .price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e74c3c; /* Red for pricing */
    margin-bottom: 15px;
}

/* Button Style */
.product a {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e74c3c; /* Red background */
    color: white;
    font-size: 1.1rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    letter-spacing: 1px;
}

.product a:hover {
    background-color: #c0392b; /* Darker red on hover */
    transform: translateY(-5px);
}

/* Mobile Responsive (Adjusting Product Grid) */
@media (max-width: 1200px) {
    .products {
        justify-content: space-around;
    }

    .product {
        width: 30%; /* 3 products per row on medium screens */
    }
}

@media (max-width: 768px) {
    .products {
        justify-content: center;
    }

    .product {
        width: 45%; /* 2 products per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .product {
        width: 100%; /* 1 product per row on mobile */
    }
}
