/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FFCF31;
    --primary-dark: #E6B82A;
    --text-dark: #333;
    --text-light: #666;
    --text-muted: #999;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --success: #28a745;
    --border-radius: 8px;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

body {
     font-family: "Work Sans", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--gray-light);
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.welcome-text {
    color: var(--text-light);
    font-family: Montserrat, sans-serif;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-actions a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-actions a:hover {
    color: var(--primary-color);
}

.header-main {
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
        font-size: 51px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    font-size: 32px;
}

.search-bar {
    flex: 1;
    max-width: 716px;
    position: relative;
    display: flex;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid var(--gray-medium);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background: var(--primary-dark);
}

.header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.sign-in, .cart {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sign-in:hover, .cart:hover {
    color: var(--primary-color);
}

.cart {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navigation {
    background: var(--gray-light);
    padding: 15px 20px;
    display: flex;
    gap: 30px;
    overflow-x: auto;
}

.nav-item {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.nav-item:hover, .nav-item.active {
    background: var(--primary-color);
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    background: url(uploads/images/home-bg.jpg);
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-content .highlight {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 1000px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.product-section,
.categories-section,
.brands-section,
.essentials-section {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-dark);
}

.section-header .highlight {
    color: var(--primary-color);
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: var(--primary-dark);
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: bold;
}

.product-card h3 {
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.price {
    padding: 0 15px;
    margin-bottom: 10px;
}

.price .current {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
}

.price .original {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 10px;
}

.savings {
    padding: 0 15px 15px;
    color: var(--success);
    font-weight: 600;
    font-size: 14px;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
}

.category-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.category-item:hover .category-icon {
    background: var(--primary-color);
}

.category-icon i {
    font-size: 24px;
    color: var(--text-dark);
}

.category-item span {
    font-weight: 500;
    font-size: 16px;
}

/* Brands Slider */
.brands-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.brand-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.brand-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.brand-card.highlight-brand {
    background: var(--primary-color);
}

.brand-logo {
    margin-bottom: 20px;
}

.brand-logo i {
    font-size: 36px;
    color: var(--text-dark);
}

.brand-logo span {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
}

.brand-offer {
    font-weight: bold;
    font-size: 16px;
    color: var(--text-dark);
}

/* Essentials Grid */
.essentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.essential-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.essential-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.essential-image {
    height: 120px;
    overflow: hidden;
}

.essential-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.essential-item:hover .essential-image img {
    transform: scale(1.05);
}

.essential-item h4 {
    padding: 15px 15px 10px;
    font-size: 16px;
    font-weight: 600;
}

.essential-offer {
    padding: 0 15px 15px;
    color: var(--success);
    font-weight: 600;
    font-size: 14px;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 32px;
}

.contact-info h4,
.download-app h4 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-store, .google-play {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--text-dark);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-size: 14px;
}

.app-store:hover, .google-play:hover {
    background: #444;
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.link-group h4 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.link-group a {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
    font-size: 14px;
}

.link-group a:hover {
    color: var(--text-dark);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--text-dark);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-main {
        flex-direction: column;
        gap: 20px;
    }
    
    .navigation {
        padding: 10px 0;
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .brands-slider {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .essentials-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .product-section,
    .categories-section,
    .brands-section,
    .essentials-section {
        margin-bottom: 40px;
    }
    
    .products-grid,
    .categories-grid,
    .brands-slider,
    .essentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

  
      