* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary: #2563eb;
    --secondary: #0f172a;
    --accent: #f97316;
    --light: #f8fafc;
    --gray: #94a3b8;
    --success: #10b981;
}

body {
    background-color: #f1f5f9;
    color: var(--secondary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    background-color: var(--secondary);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--accent);
}

.social-icons a {
    color: white;
    margin-left: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent);
}

.main-header {
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 8px;
    color: var(--accent);
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.header-icons {
    display: flex;
    align-items: center;
}

.header-icons div {
    margin-left: 20px;
    position: relative;
    cursor: pointer;
    color: var(--secondary);
}

.header-icons div i {
    font-size: 20px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent);
    color: white;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #cbd5e1;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #ea580c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--accent);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Categories Section */
.categories {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    text-align: center;
    padding: 25px 15px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1.1rem;
    color: var(--secondary);
}

/* Featured Products */
.featured-products {
    padding: 60px 0;
    background-color: #f8fafc;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--success);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.product-image img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary);
    font-weight: 600;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.original-price {
    font-size: 0.9rem;
    color: var(--gray);
    text-decoration: line-through;
    margin-left: 10px;
}

.discount-badge {
    background-color: #fee2e2;
    color: #ef4444;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 10px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

.add-to-cart {
    flex-grow: 1;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 500;
}

.add-to-cart:hover {
    background-color: #1d4ed8;
}

.wishlist-btn {
    width: 40px;
    height: 40px;
    background-color: #f1f5f9;
    border: none;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn:hover {
    background-color: #fee2e2;
    color: #ef4444;
}

/* Promo Banner */
.promo-banner {
    padding: 60px 0;
}

.banner {
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

.banner-content {
    max-width: 60%;
}

.banner h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.banner p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.banner-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(50%);
    max-width: 40%;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.footer-column ul li a:hover {
    color: var(--accent);
}

.footer-column p {
    color: #cbd5e1;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .banner-content {
        max-width: 100%;
        text-align: center;
    }
    
    .banner-image {
        display: none;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .menu-btn {
        display: block;
        font-size: 24px;
        cursor: pointer;
        color: var(--secondary);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .header-top .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-info {
        margin-bottom: 10px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .btn-outline {
        margin-left: 0;
    }
}