:root {
    /* Dark Theme Colors */
    --primary: #3b82f6; /* Vibrant Blue */
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --secondary: #fb923c; /* Vibrant Orange */
    --accent: #22d3ee;
    
    --bg-main: #0f172a; /* Deep Navy */
    --bg-white: #1e293b; /* Slate surface */
    --bg-gray: #1e293b;
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --text-white: #ffffff;
    
    --border: #334155;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.6), 0 4px 6px -4px rgb(0 0 0 / 0.6);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Layout */
    --container-max: 1280px;
    --header-height: 80px;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
    transition: all 0.2s ease;
}

input, select, textarea {
    background-color: var(--bg-white);
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
}

/* Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section-padding {
    padding: 4rem 0;
}

/* Premium Header */
header {
    min-height: var(--header-height);
    background: rgba(30, 41, 59, 0.85); /* Semi-transparent bg-white */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.025em;
}

.logo span {
    color: var(--secondary);
}

.search-bar-container {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.search-bar {
    width: 100%;
    height: 48px;
    background: #1e293b;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 1rem 0 3rem;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.search-bar:focus {
    background: #0f172a;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

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

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 0.5rem 0;
    z-index: 100;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.btn-outline:hover {
    background: rgba(0, 70, 190, 0.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: var(--text-white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}

.category-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

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

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.product-image {
    height: 200px;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.product-info {
    padding: 1.25rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.company-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-name i {
    color: var(--primary-light);
}

.btn-quote {
    width: 100%;
    background: var(--secondary);
    color: var(--text-white);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-align: center;
}

.btn-quote:hover {
    background: #e65f00;
}

/* Footer */
footer {
    background: #0f172a;
    color: var(--text-white);
    padding: 5rem 0 2rem;
}

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

.footer-brand h2 {
    font-size: 1.75rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

.footer-links ul li a {
    color: var(--text-light);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        margin-left: auto;
    }
    
    .nav-container {
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    /* Hide desktop elements */
    .nav-links, .search-bar-container, .nav-actions {
        display: none;
        width: 100%;
    }
    
    header {
        height: auto;
        min-height: var(--header-height);
    }
    
    .nav-container.mobile-active {
        padding-bottom: 1.5rem;
    }
    
    .nav-container.mobile-active .search-bar-container {
        display: block;
        order: 3;
        margin-top: 1rem;
    }
    
    .nav-container.mobile-active .nav-links {
        display: flex;
        flex-direction: column;
        order: 4;
        margin-top: 1rem;
        gap: 0;
    }
    
    .nav-container.mobile-active .nav-actions {
        display: flex;
        order: 5;
        margin-top: 1.5rem;
        justify-content: stretch;
        gap: 1rem;
    }
    
    .nav-container.mobile-active .nav-actions a {
        flex: 1;
        text-align: center;
    }
    
    .dropdown {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .dropdown:last-child {
        border-bottom: none;
    }
    
    .dropdown-toggle {
        padding: 1rem 0;
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 1rem;
        display: none;
        min-width: 100%;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
        padding-bottom: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.breadcrumbs i {
    font-size: 0.7rem;
    opacity: 0.5;
}

.breadcrumbs span {
    font-weight: 500;
    color: var(--text-main);
}
