:root {
    /* Colors - Classic E-commerce Palette */
    --primary: #0056D2;
    /* Royal Blue - Trust & Professionalism */
    --primary-dark: #0044A5;
    --secondary: #FF5722;
    /* Vibrant Orange for CTAs */
    --accent: #FFD600;
    /* Yellow for highlights/badges */

    /* Light Mode Backgrounds */
    --bg-body: #F8F9FA;
    --bg-card: #FFFFFF;
    --bg-footer: #0A0E27;
    /* Keep footer dark for contrast */

    /* Text Colors */
    --text-main: #333333;
    --text-light: #666666;
    --text-white: #FFFFFF;

    /* Borders */
    --border-light: #E0E0E0;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Inter', sans-serif;
    /* Switched to Inter for cleaner look */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Shadows - Softer for Light Mode */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Transitions */
    --transition-normal: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll globally */
    width: 100%;
}

html {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

/* Mobile Container Adjustment */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        /* Smaller padding on mobile */
    }
}

/* Navigation - Clean White */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    /* Slightly smaller for classic look */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.cta-nav {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
}

.cta-nav:hover {
    color: white;
    background: var(--primary-dark);
}

/* Hero Section - Clean & Impactful */
.hero {
    margin-top: 72px;
    /* Navbar height */
    padding: 4rem 0;
    background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary);
    /* Orange for conversion */
    color: white;
}

.btn-primary:hover {
    background: #E64A19;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--text-main);
}

/* Categories - Grid */
.categories {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #F0F7FF;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

/* Featured Products (New) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
}

.product-image {
    height: 250px;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Services */
.services {
    background: #F0F7FF;
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

/* Contact */
.contact {
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: #FAFAFA;
}

/* Footer */
.footer {
    background: var(--bg-footer);
    color: white;
    padding: 4rem 0 2rem;
    /* Increased bottom padding */
    margin-bottom: 60px;
    /* Space for bottom nav on mobile */
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    /* Remove bullet points */
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #B0B0B0;
    /* Light gray for readability */
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
    /* Subtle hover effect */
}

.footer-description {
    color: #B0B0B0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    border: none;
    flex: 1;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    color: #808080;
    font-size: 0.9rem;
    width: 100%;
    grid-column: 1 / -1;
    /* Span full width */
}

/* Mobile Footer Adjust */
@media (max-width: 768px) {
    .footer .container {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
        text-align: center;
    }

    .newsletter-form {
        max-width: 300px;
        margin: 1rem auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer {
        padding-bottom: 80px;
        /* Extra space for bottom nav */
        margin-bottom: 0;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        color: var(--text-main);
        font-size: 1.5rem;
    }

    /* Navbar adjust */
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        background: white;
        width: 100%;
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border-light);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Hero adjust */
    .hero {
        min-height: auto;
        padding-bottom: 2rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        justify-content: center;
        width: 100%;
    }

    /* Product Grid - 2 Columns on Mobile (Amazon Style) */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-info {
        padding: 10px;
    }

    .product-title {
        font-size: 0.9rem;
        height: 2.4em;
        overflow: hidden;
    }

    .product-price {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .btn-block {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    /* Bottom Navigation Bar (App-like feel) */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--border-light);
        padding: 0.5rem 0;
        z-index: 1000;
        justify-content: space-around;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--text-light);
        font-size: 0.7rem;
        gap: 4px;
    }

    .bottom-nav-item.active {
        color: var(--primary);
    }

    .bottom-nav-item i {
        font-size: 1.2rem;
    }

    /* Add padding to body to prevent content from being hidden behind bottom nav */
    body {
        padding-bottom: 60px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-card {
        padding: 1rem;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .category-card h3 {
        font-size: 0.9rem;
    }

    .card-link {
        font-size: 0.8rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Desktop only - Hide bottom nav */
@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none;
    }
}