:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --accent-blue: #0066ff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--primary-white);
    color: var(--primary-black);
    overflow-x: hidden;
}

/* Header Styles */
.main-header {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-blue);
    text-decoration: none;
}

.nav-link {
    color: var(--primary-white) !important;
    margin: 0 1rem;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-blue) !important;
}

.dropdown-menu {
    background: var(--primary-black);
    border: 1px solid var(--accent-blue);
}

.dropdown-item {
    color: var(--primary-white);
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: var(--accent-blue);
    color: var(--primary-white);
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* Hero Section */
.hero-section {
    margin-top: 70px;
    height: 90vh;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: var(--primary-white);
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button {
    background: var(--accent-blue);
    color: var(--primary-white);
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    animation: fadeInUp 1s ease-out 0.6s both;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #0052cc;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

/* Animated Background Elements */
.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    border-radius: 50%;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--primary-white);
    border-radius: 50%;
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-blue);
    border-radius: 50%;
    top: 60%;
    left: 70%;
    animation-delay: 4s;
}

/* Category Sections */
.category-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.category-section:nth-child(even) {
    background: var(--primary-white);
}

.category-section:nth-child(odd) {
    background: var(--light-gray);
}

.category-content {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.category-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.category-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.category-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.category-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.category-image:hover {
    transform: scale(1.05);
}

.explore-btn {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-black);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.explore-btn:hover {
    background: transparent;
    color: var(--primary-black);
    border-color: var(--accent-blue);
}

/* Video Section */
.video-section {
    background: var(--primary-black);
    padding: 4rem 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Listing Page */
.product-grid {
    margin-top: 100px;
    padding: 3rem 0;
}

.product-card {
    background: var(--primary-white);
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    margin-bottom: 2rem;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.product-price {
    font-size: 1.5rem;
    color: var(--accent-blue);
    font-weight: bold;
    margin-bottom: 1rem;
}

.add-to-cart {
    width: 100%;
    background: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart:hover {
    background: var(--accent-blue);
}

/* Product Detail Page */
.product-detail {
    margin-top: 100px;
    padding: 3rem 0;
}

.detail-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.detail-info {
    padding-left: 3rem;
}

.detail-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.detail-price {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    margin: 0 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Page Transitions */
.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    color: var(--primary-black);
}
.filter-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}
.product-card {
    margin-bottom: 30px;
    transition: transform 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
}
.category-badge {
    background: #0066ff;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}
.product-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}
.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    border: 2px solid transparent;
}
.thumbnail.active {
    border-color: #0066ff;
}
.related-product {
    transition: transform 0.3s;
}
.related-product:hover {
    transform: translateY(-5px);
}