/**
 * zomzom.in - Modern E-Commerce Stylesheet
 * Mobile-first, dark theme with premium aesthetics
 */

/* ============================================
   CSS CUSTOM PROPERTIES (THEME VARIABLES)
   ============================================ */
:root {
    /* Elite Neon Palette - Adjusted for Light Theme */
    --primary: #4f46e5;
    /* Indigo-600 */
    --primary-dark: #3730a3;
    /* Indigo-800 */
    --primary-light: #818cf8;
    /* Indigo-400 */
    --secondary: #e11d48;
    /* Rose-600 */
    --secondary-dark: #be123c;
    /* Rose-700 */
    --accent: #7c3aed;
    /* Violet-600 */
    --success: #059669;
    /* Emerald-600 */
    --warning: #d97706;
    /* Amber-600 */
    --danger: #dc2626;
    /* Red-600 */

    /* Clean Light Backgrounds */
    --bg-primary: #f8fafc;
    /* Slate-50 */
    --bg-secondary: #f1f5f9;
    /* Slate-100 */
    --bg-tertiary: #e2e8f0;
    /* Slate-200 */
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-overlay: rgba(255, 255, 255, 0.9);

    /* Text Colors - High Contrast */
    --text-primary: #0f172a;
    /* Slate-900 */
    --text-secondary: #334155;
    /* Slate-700 */
    --text-muted: #64748b;
    /* Slate-500 */
    --text-inverse: #ffffff;

    /* Border & Glass Transitions */
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(79, 70, 229, 0.2);
    --blur-base: blur(12px);
    --blur-heavy: blur(24px);

    /* Shadows & Glows - Softer for Light Mode */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.1);
    --shadow-shimmer: 0 0 15px rgba(0, 0, 0, 0.05);

    /* Gradients */
    --gradient-elite: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #e11d48 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 100%);
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(225, 29, 72, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(124, 58, 237, 0.05) 0px, transparent 50%);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 5rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-elite: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    background-image: var(--gradient-mesh);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Decorative Elements */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary);
    filter: blur(150px);
    border-radius: 50%;
    opacity: 0.15;
    animation: blobFloat 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    background: var(--primary);
    opacity: 0.1;
}

.blob-2 {
    top: 60%;
    right: -10%;
    background: var(--secondary);
    opacity: 0.1;
    animation-delay: -5s;
}

.blob-3 {
    bottom: -10%;
    left: 20%;
    background: var(--accent);
    opacity: 0.1;
    animation-delay: -10s;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 100px) scale(1.2);
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--primary);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-md);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-responsive {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 992px) {

    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Table Responsive wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: var(--spacing-md);
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-base);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--bg-secondary);
    backdrop-filter: var(--blur-heavy);
    color: var(--text-secondary);
    padding: var(--spacing-xs) 0;
    font-size: 0.8125rem;
    border-bottom: 1px solid var(--border-glass);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-links a {
    margin-left: var(--spacing-md);
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.top-bar-links a:hover {
    color: var(--primary-light);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.contact-info a {
    color: inherit;
    transition: var(--transition-elite);
}

.contact-info a:hover {
    color: var(--primary-light);
}

.contact-info .divider {
    color: var(--border-glass);
    margin: 0 var(--spacing-xs);
}

.nav-main {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-base);
    padding: var(--spacing-sm) 0;
    border-top: 1px solid var(--border-glass);
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-elite);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    filter: drop-shadow(0 0 10px rgba(129, 140, 248, 0.3));
    white-space: nowrap;
    transition: var(--transition-elite);
}

.logo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 15px rgba(129, 140, 248, 0.5));
}

.search-bar {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    padding-left: 2.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: var(--transition-base);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-icon {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    backdrop-filter: var(--blur-heavy);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.search-result-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-glass);
    text-decoration: none;
    color: inherit;
    transition: var(--transition-elite);
}

.search-result-item:hover {
    background: var(--bg-tertiary);
}

.search-result-img {
    width: 60px;
    height: 60px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-result-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.search-result-price {
    color: var(--primary-light);
    font-weight: 700;
}

.nav-icon {
    position: relative;
    color: var(--text-primary);
    font-size: 1.25rem;
    transition: var(--transition-base);
    cursor: pointer;
}

.nav-icon:hover {
    color: var(--primary-light);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.nav-menu a {
    position: relative;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    padding: 1.5px;
    background: linear-gradient(45deg, #6366f1, #f43f5e, #8b5cf6, #6366f1);
    background-size: 400%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.2;
    transition: opacity 0.3s ease;
    animation: borderRotate 10s linear infinite;
}

.nav-menu a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-menu a:hover::before {
    opacity: 1;
}

.nav-menu li.active a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu li.active a::before {
    opacity: 0.8;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

/* ============================================
   MOBILE NAVIGATION - FORCED HORIZONTAL SCROLL
   ============================================ */
@media (max-width: 992px) {
    .menu-toggle {
        display: none !important;
    }

    .main-nav {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        background: var(--bg-secondary) !important;
        border-bottom: 1px solid var(--border-glass) !important;
        z-index: 1000 !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .main-nav .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Hide scrollbar for cleaner look */
    .main-nav .container::-webkit-scrollbar {
        display: none;
    }

    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        width: max-content !important;
        /* Allow width to exceed container */
        min-width: 100%;
        margin: 0 !important;
        padding: 12px 15px !important;
        gap: 10px !important;
        list-style: none !important;
    }

    .nav-menu li {
        display: block !important;
        flex: 0 0 auto !important;
        /* Prevent items from shrinking/growing */
        margin: 0 !important;
    }

    .nav-menu a {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        white-space: nowrap !important;
        /* Force text on one line */
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        border-radius: 50px !important;
        background: var(--bg-tertiary) !important;
        border: 1px solid var(--border-glass) !important;
        color: var(--text-secondary) !important;
        text-decoration: none !important;
    }

    .nav-menu a i {
        font-size: 1rem !important;
    }

    .nav-menu a:hover,
    .nav-menu li.active a {
        background: var(--primary) !important;
        color: white !important;
        border-color: var(--primary-light) !important;
    }
}

/* Mobile Menu Toggle - HIDDEN */
.menu-toggle {
    display: none !important;
    /* Hide hamburger menu button */
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
    transition: var(--transition-elite);
}

.menu-toggle:hover {
    color: var(--primary-light);
    transform: scale(1.1);
}

.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .mobile-only {
        display: block;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-elite);
    color: white;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(129, 140, 248, 0.3);
}

/* Metallic Shimmer Effect - DISABLED to prevent blinking */
/* .btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    animation: shimmer 3s infinite;
} */

@keyframes shimmer {
    0% {
        left: -60%;
    }

    20% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.875rem;
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-base);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-elite);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.testimonial-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-base);
    border: 1px solid var(--border-glass);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    transition: var(--transition-elite);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(192, 132, 252, 0.15);
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: var(--spacing-md);
    background: #ffffff;
    transition: var(--transition-slow);
}

.card:hover .card-img {
    transform: scale(1.08);
}

.card-body {
    padding: var(--spacing-md);
}

.card-title {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-md);
}

/* Product Cards - Elite Mode */
.product-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-base);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-elite);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-elite);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(15px);
}

.product-card:hover::before {
    opacity: 0.15;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 20px rgba(99, 102, 241, 0);
    transition: box-shadow 0.4s ease;
}

.product-card:hover::after {
    box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.1);
}

.product-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--gradient-accent);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.product-img-container {
    position: relative;
    overflow: hidden;
    height: 180px;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-price {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-light);
}

.price-original {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-brand {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.product-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* Feature Items */
.feature-item {
    text-align: center;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white !important;
}

.feature-item h4 {
    color: white !important;
    margin: 10px 0;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--bg-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glow);
    transition: var(--transition-elite);
}

.feature-item:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 2rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: var(--spacing-2xl);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    padding: var(--spacing-2xl);
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    color: inherit;
    /* Use parent color - allows white on dark sections */
}

.section-title::after {
    content: '';
    display: block;
    margin: var(--spacing-md) auto 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-elite);
    border-radius: var(--radius-sm);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: inherit;
    /* Use parent color - allows white on dark sections */
    margin-bottom: var(--spacing-xl);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
    margin-top: var(--spacing-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.dev-box-container {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-sm);
}

.dev-box {
    position: relative;
    padding: 6px 24px;
    background: #ffffff;
    backdrop-filter: blur(8px);
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    overflow: hidden;
    color: #000000;
}

.dev-name {
    color: #000000;
    font-weight: 800;
    margin-left: 4px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.dev-box:hover .dev-name {
    text-shadow: 0 0 20px rgba(192, 132, 252, 0.6);
    letter-spacing: 0.5px;
}

.dev-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #000000;
    z-index: -1;
    border-radius: 50px;
    opacity: 0.1;
}

.dev-box:hover {
    transform: translateY(-5px) scale(1.05);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.2);
}

.dev-box:hover::before {
    opacity: 0.15;
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.dev-name {
    background: linear-gradient(45deg, #6366f1, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Sidebar & Filter Sizing */
aside h4 {
    font-size: 1.1rem;
}

aside .form-label {
    font-size: 0.85rem;
}

aside .form-control {
    font-size: 0.875rem;
    padding: var(--spacing-xs) var(--spacing-sm);
}

aside .btn {
    font-size: 0.875rem;
    padding: var(--spacing-xs) var(--spacing-md);
}

/* Product List Header Sizing */
.product-list-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-xs);
}

.product-list-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: var(--text-muted);
}

.text-primary {
    color: var(--primary-light);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.mt-4 {
    margin-top: var(--spacing-xl);
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

.mb-4 {
    margin-bottom: var(--spacing-xl);
}

.badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.badge-success {
    background: var(--success);
    color: white;
}

.badge-warning {
    background: var(--warning);
    color: white;
}

.badge-danger {
    background: var(--danger);
    color: white;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Scroll Reveal Animations - FIXED to show content immediately */
.reveal-on-scroll {
    opacity: 1 !important;
    /* Was 0 - this was hiding all content! */
    transform: none !important;
    /* Remove initial offset */
    transition: all 0.8s cubic-bezor(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.animated,
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    background: transparent;
}

.scroll-progress-bar {
    height: 100%;
    width: 0;
    background: var(--gradient-elite);
    box-shadow: 0 0 10px rgba(129, 140, 248, 0.5);
    transition: width 0.1s linear;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: var(--spacing-md);
        padding-bottom: var(--spacing-sm);
    }

    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
    }

    .nav-icons {
        width: 100%;
        justify-content: space-between;
        display: flex;
        align-items: center;
    }

    .main-nav {
        display: none;
        width: 100%;
        background: var(--bg-card);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        border-bottom: 1px solid var(--border-glass);
        box-shadow: var(--shadow-lg);
    }

    .main-nav.active {
        display: block;
    }

    .menu-toggle {
        display: block;
        order: 1;
    }

    .nav-icons .nav-icon {
        order: 2;
    }

    /* Fixed: Removed duplicate and conflicting menu styles */

    .hero {
        height: auto;
        min-height: 400px;
    }

    .hero-content {
        padding: var(--spacing-xl) var(--spacing-lg);
        text-align: center;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    /* Stack sidebar layouts */
    .responsive-sidebar-layout {
        grid-template-columns: 1fr !important;
    }

    /* Product card image size fix */
    .product-img-container {
        height: 200px;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .product-card {
        max-width: 100%;
    }

    .section-header {
        margin-bottom: var(--spacing-lg);
    }

    section {
        padding: var(--spacing-lg) 0 !important;
    }

    .top-bar .container {
        justify-content: center;
        text-align: center;
        gap: var(--spacing-xs);
    }

    .contact-info {
        font-size: 0.75rem;
    }
}

/* Admin Panel Responsiveness */
:root {
    --sidebar-width: 220px;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: var(--spacing-md);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: var(--transition-elite);
}

.admin-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: var(--spacing-lg);
    transition: var(--transition-elite);
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 8px 12px;
    margin-bottom: 2px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

/* Sidebar Groups */
.sidebar-group {
    margin-bottom: var(--spacing-lg);
}

.sidebar-label {
    display: block;
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    opacity: 0.7;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: var(--bg-tertiary);
    color: var(--primary-light);
}

.admin-sidebar a i {
    width: 20px;
    text-align: center;
}

.admin-table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.admin-table th {
    background: var(--bg-secondary);
    padding: 10px 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.admin-table td {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    font-size: 0.85rem;
}

.admin-mobile-header {
    display: none;
    position: sticky;
    top: 0;
    background: var(--bg-glass);
    backdrop-filter: var(--blur-base);
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1001;
    justify-content: space-between;
    align-items: center;
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(4px);
}

@media (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
        padding: var(--spacing-lg);
    }

    .admin-mobile-header {
        display: flex;
    }

    .overlay.active {
        display: block;
    }
}

@media (max-width: 576px) {
    .admin-main {
        padding: var(--spacing-md);
    }

    .stat-card {
        padding: var(--spacing-lg);
    }
}

/* ============================================
   MOBILE NAVIGATION & RESPONSIVENESS
   ============================================ */
.header {
    overflow: visible !important;
}

.nav-main {
    overflow: visible !important;
}

.menu-toggle {
    display: none;
}

/* Show menu toggle only on mobile */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
}

.main-nav {
    display: block;
    position: relative;
    background: transparent;
    padding: 0;
    border-top: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

/* Mobile navigation styles - ALWAYS VISIBLE */
@media (max-width: 992px) {
    .main-nav {
        /* Always show navigation on mobile */
        display: block !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        padding: var(--spacing-sm) 0 !important;
        border-top: none !important;
        z-index: 1001;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }
}

/* .main-nav.active styles - NO LONGER NEEDED (menu always visible) */

@media (max-width: 992px) {

    .nav-container {
        justify-content: space-between;
    }

    .nav-left {
        width: 100%;
        justify-content: space-between;
    }

    /* Fixed: Removed duplicate and conflicting menu styles */

    .search-container.mobile-only {
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--border-glass);
        background: var(--bg-glass);
        display: block;
    }
}

/* ============================================
   HERO BANNER RESPONSIVE STYLES
   ============================================ */
.hero {
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 500px;
}

@media (max-width: 992px) {
    .hero {
        min-height: 400px;
    }

    .hero-image {
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 300px;
    }

    .hero-image {
        min-height: 300px;
        object-position: center;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }
}

/* ============================================
   RAM/ROM INFO CARDS
   ============================================ */
.ram-rom-card {
    background: var(--gradient-elite);
    color: white;
    text-align: center;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-elite);
}

.ram-rom-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}