body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #000000;
    color: white;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease-in-out;
}

.logo img:hover {
    transform: scale(1.2);
}

.nav-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-menu ul li {
    margin: 0 15px;
}

.nav-menu ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.nav-menu ul li a:hover {
    color: #ff9900;
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 5px;
    border: none;
    border-radius: 3px;
    margin-right: 5px;
}

.search-bar button {
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    background-color: #ff9900;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.search-bar button:hover {
    background-color: #cc7a00;
}

.user-options {
    display: flex;
    align-items: center;
}

.user-options .cart,
.user-options .user-account {
    display: flex;
    align-items: center;
    margin-left: 20px;
    cursor: pointer;
}

.user-options img {
    height: 30px;
    margin-right: 5px;
    transition: transform 0.3s ease-in-out;
}

.user-options img:hover {
    transform: scale(1.2);
}

.cart-count {
    background-color: red;
    border-radius: 50%;
    padding: 3px 7px;
    font-size: 14px;
}

.hero {
    position: relative;
    background: url('banner.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content {
    background: rgba(0, 0, 0, 0.122);
    padding: 20px;
    border-radius: 10px;
    animation: fadeIn 2s ease-in-out;
}

.hero h1 {
    font-size: 48px;
    margin: 0 0 10px;
}

.hero p {
    font-size: 24px;
    margin: 0 0 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.cta-button {
    padding: 10px 20px;
    background-color: #ff9900;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.cta-button:hover {
    background-color: #cc7a00;
}

.hero-promotion {
    position: absolute;
    bottom: 20px;
    background: #ff9900;
    padding: 10px;
    border-radius: 5px;
    animation: slideUp 2s ease-in-out;
}

.featured-products,
.categories,
.special-offers,
.testimonials,
.newsletter,
.social-media {
    padding: 40px 20px;
    text-align: center;
}

.featured-products h2,
.categories h2,
.special-offers h2,
.testimonials h2,
.newsletter h2,
.social-media h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.product-grid,
.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product-item,
.testimonial-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    width: 200px;
    text-align: center;
}

.product-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    
}

.product-item h3 {
    font-size: 18px;
    margin: 10px 0;
}

.product-item p {
    font-size: 16px;
    color: #555;
}

.add-to-cart {
    padding: 10px 20px;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    
}

.add-to-cart:hover {
    background-color: #cc7a00;
    transform: scale(1.2);
}

.category-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.category {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.category:hover {
    background-color: #ff9900;
}

.offer-banner {
    background-color: #ff9900;
    padding: 20px;
    border-radius: 5px;
    color: white;
    font-size: 20px;
}

.newsletter form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.newsletter input {
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.newsletter button {
    padding: 10px 20px;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.newsletter button:hover {
    background-color: #cc7a00;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    
}

.social-icons a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease-in-out;
}

.social-icons a img:hover {
    transform: scale(1.2);
}

footer {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 40px 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-links a:hover {
    color: #ff9900;
}

.contact-info p {
    margin: 5px 0;
}

.footer-newsletter form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.footer-newsletter input {
    padding: 10px;
    width: 300px;
    border: 1px solid #000000;
    border-radius: 5px;
}

.footer-newsletter button {
    padding: 10px 20px;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.footer-newsletter button:hover {
    background-color: #cc7a00;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animation for cart count */
@keyframes bump {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.animate-count {
    animation: bump 0.5s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu ul {
        flex-direction: column;
        display: none;
    }
    .nav-menu ul.active {
        display: flex;
    }
    .hero {
        height: 60vh;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .product-grid,
    .testimonial-grid {
        flex-direction: column;
        align-items: center;
    }
    .category-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 18px;
    }
    .cta-buttons {
        gap: 10px;
    }
}
