/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 60px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

.main-header.scrolled {
    padding: 8px 0;
    background: rgba(10, 10, 11, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: var(--border);
}

.main-header.scrolled .logo img {
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-text .highlight {
    background: var(--grad-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.desktop-nav ul {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.desktop-nav a:hover {
    color: var(--text-main);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    font-size: 1.5rem;
    color: var(--text-main);
    position: relative;
    padding: 8px;
    border-radius: 50%;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-red);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--text-main);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: 0.3s;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
.hero-slider {
    position: relative;
    height: 85vh;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    margin-top: 0;
}

.slider-wrapper {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 11, 0.9) 20%, rgba(10, 10, 11, 0.3) 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
}

.slide-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin: 1rem 0 1.5rem;
}

.slide-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.badge {
    background: var(--grad-logo);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Categories */
.categories-section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.categories-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.categories-container::-webkit-scrollbar {
    display: none;
}

.category-card {
    min-width: 160px;
    height: 200px;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: var(--border);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    background: var(--grad-surface);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--primary-yellow);
}

.category-card span {
    font-weight: 600;
}

/* Products */
.products-section {
    padding: 40px 0 100px;
}

.products-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--border);
    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    height: 2.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.add-to-cart {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: var(--border);
    color: white;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart:hover {
    background: white;
    color: black;
}

/* Footer */
.main-footer {
    background: #050505;
    padding: 80px 0 40px;
    border-top: var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.footer-links h3, .footer-contact h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--text-main);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: var(--bg-surface);
    z-index: 2000;
    padding: 30px;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.empty-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 50px;
}

.cart-footer {
    padding-top: 20px;
    border-top: var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Nav (Base) */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: var(--bg-surface);
    z-index: 2500;
    padding: 40px 30px;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: none; /* Hidden by default on desktop */
}

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

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .slide-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .main-header {
        padding: 10px 0;
    }

    .logo img {
        height: 45px;
    }

    .hero-slider {
        height: 70vh;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

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

    .product-info {
        padding: 12px;
    }

    .product-title {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    /* Show Mobile Nav only on mobile */
    .mobile-nav {
        display: block;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
