
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    transition: background 0.3s, color 0.3s;
}
.dark {
    background: #403e3e;
    color: #f4f4f4;
}

header {
    background: #d29a8e;
    color: rgb(255, 255, 255);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header nav a {
    color: rgb(31, 30, 30);
    margin: 0 10px;
    text-decoration: none;
}
header nav button {
    background: white;
    color: #2b2727;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

.popup {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    animation: fadeIn 0.5s ease-in-out;
}
.popup button {
    margin-left: 15px;
    background: white;
    color: #28a745;
    border: none;
    padding: 5px;
    cursor: pointer;
}

.banner {
    background: url('https://images.unsplash.com/photo-1542291026-7eec264c27ff') no-repeat center/cover;
    color: white;
    padding: 80px 20px;
    text-align: center;
}
.banner h2 {
    font-size: 2.5rem;
}
.banner .cta-btn {
    background: #ff5733;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}
.banner .cta-btn:hover {
    background: #e14b28;
}

.search-section {
    text-align: center;
    padding: 15px;
}
#search-box {
    padding: 10px;
    width: 50%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.products {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}
.product-card {
    background: rgb(206, 200, 200);
    border-radius: 8px;
    overflow: hidden;
    width: 250px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeUp 0.8s ease-in-out;
}
.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.product-card button {
    background: #ff5733;
    color: #d29a8e;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
}
.product-card button:hover {
    background: #e14b28;
}

.offers {
    background: #797979;
    padding: 30px;
    text-align: center;
}
.offer-card {
    background: rgb(17, 2, 2);
    padding: 15px;
    margin: 10px auto;
    border-radius: 8px;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(229, 130, 130, 0.1);
}

footer {
    background: #d29a8e;
    color: white;
    padding: 15px;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
