/* General Styles */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f7f9fc;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0056b3;
}

.cart-login {
    display: flex;
    gap: 1rem;
}

.cart, .login {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.cart:hover, .login:hover {
    color: #0056b3;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary {
    background-color: white;
    color: #007bff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
    color: white;
}

.btn-secondary {
    background-color: #007bff;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: white;
    color: #007bff;
    border: 1px solid #007bff;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.item .original-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 0.5rem;
}

.item .sale-price {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
}
