/* General Reset */
body, h1, h2, h3, p, ul, li, a, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f4f6f8;
    color: #333;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

header img {
    height: 80px; /* Increase logo size */
    margin-right: 1rem;
}

header h1 {
    font-size: 1.5rem;
}

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

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: background 0.3s, color 0.3s;
}

nav ul li a:hover {
    background: #0056b3;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(120deg, #e3f2fd, #bbdefb);
    text-align: center;
    padding: 4rem 1rem;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero h2 {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.hero .btn {
    background: #007bff;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.3s;
}

.hero .btn:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* Store Selector */
#store-selector {
    background: #fff;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#store-selector h2 {
    margin-bottom: 1rem;
    color: #0056b3;
}

#store-selector select {
    padding: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#store-selection {
    margin-top: 1rem;
    font-weight: bold;
}

/* Products Section */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product {
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.product img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.product h3 {
    margin-bottom: 0.5rem;
    color: #0056b3;
}

.product p {
    margin-bottom: 1rem;
    font-weight: bold;
}

.product button {
    background: #007bff;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.product button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* Cart Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    animation: slideIn 0.4s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    margin-bottom: 1rem;
    text-align: center;
    color: #0056b3;
}

.modal-content .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content .close:hover {
    color: #000;
}

@keyframes fadeIn {
    from { background-color: rgba(0, 0, 0, 0); }
    to { background-color: rgba(0, 0, 0, 0.5); }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Footer */
footer {
    text-align: center;
    background: #007bff;
    color: #fff;
    padding: 1rem 0;
    margin-top: 2rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
