:root {
    --primary-color: #e74c3c;
    /* Red accent */
    --secondary-color: #34495e;
    /* Blue-grey */
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-light: #ecf0f1;
    --text-muted: #bdc3c7;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Teko', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 0.5rem 0;
    /* Reduced from 1rem */
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo img {
    height: 40px;
    /* Reduced from 50px */
    width: 40px;
    /* Reduced from 50px */
    object-fit: cover;
    border-radius: 50%;
    margin-right: 0.8rem;
    border: 2px solid var(--primary-color);
}

.logo i {
    display: none;
    /* Hide old icon */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
/* Hero Section */
.hero {
    height: auto;
    /* Let content define height */
    padding: 1.5rem 0;
    /* Minimal top/bottom padding */
    background: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(18, 18, 18, 0.95));
    /* Darker overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 1rem;
    width: 100%;
    max-width: 800px;
    /* Limit width for readability */
}

.hero h1 {
    display: none;
    /* Hide H1 completely */
}

.hero p {
    font-size: 1rem;
    /* Reduced from 1.2rem */
    color: #ddd;
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
    font-weight: 500;
}

/* Search Bar */
.search-container {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-family: var(--font-main);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.btn-search {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 2rem;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-search:hover {
    background-color: #d35400;
    /* Darker orange */
}

/* Trust Bar */
.trust-bar {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
    padding: 0.8rem 0;
    /* Reduced from 1.5rem */
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
}

.trust-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

/* Orange/Yellow CTA */
:root {
    --primary-color: #FF9F1C;
    /* Orange/Yellow for heavy CTA */
    --primary-dark: #e67e22;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #121212;
    /* Dark text on yellow/orange */
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Catalog Section */
.catalog-section {
    padding: 1rem 0;
    /* Reduced/Minimal */
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    /* Reduced/Minimal */
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    /* Glass effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 5%;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.card-image {
    height: 200px;
    background-color: #2c3e50;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.card-brand {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    /* Push footer to bottom if content varies */
    padding-top: 1rem;
    gap: 10px;
    /* Space between price and button */
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-light);
    white-space: nowrap;
    /* Prevent price from breaking line */
}

.btn-card {
    background-color: var(--primary-color);
    border: none;
    color: #121212;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
    /* Full width CTA */
}

.btn-card:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(255, 159, 28, 0.3);
}

.btn-card-secondary {
    background: rgba(255, 255, 255, 0.1);
    /* Glass effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #bdc3c7;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    text-align: center;
    width: 100%;
}

.btn-card-secondary:hover {
    border-color: #fff;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Footer */
footer {
    background-color: #000;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Navigation */
.menu-toggle {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        /* Keep row for Logo + Toggle */
        flex-wrap: wrap;
        /* Allow nav to wrap */
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
        /* Show hamburger */
    }

    nav {
        width: 100%;
        display: none;
        /* Hidden by default */
    }

    nav.active {
        display: block;
        /* Show when toggled */
        border-top: 1px solid #333;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    nav ul li {
        width: 100%;
    }

    nav a {
        display: block;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .search-container {
        flex-direction: column;
        width: 100%;
    }

    .btn-search {
        width: 100%;
        margin-top: 5px;
    }

    .trust-grid {
        gap: 0.5rem;
    }

    .trust-item {
        width: 45%;
        /* 2x2 grid on mobile */
        justify-content: center;
        font-size: 0.7rem;
        padding: 5px;
    }

    /* 2 Columns on Mobile */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns forced */
        gap: 0.5rem;
        /* Smaller gap */
    }

    .card-content {
        padding: 0.5rem;
        /* Reduce padding inside card */
    }

    .card-image {
        height: 120px;
        /* Smaller images for mobile row */
    }

    .card-title {
        font-size: 0.8rem;
        /* Smaller text */
        margin-bottom: 0.2rem;
        line-height: 1.2;
        height: 2.4em;
        /* Limit height */
        overflow: hidden;
    }

    .price {
        font-size: 1rem;
    }

    .card-footer {
        flex-direction: column;
        gap: 5px;
        align-items: stretch;
    }

    .filters {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 10px;
        padding: 10px;
        margin-bottom: 1rem;
        -webkit-overflow-scrolling: touch;

        /* Make it look like a bar */
        background-color: #1a1a1a;
        border-top: 1px solid #333;
        border-bottom: 1px solid #333;

        /* Ensure scrollbar is visible but styled */
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) #222;
    }

    /* Style implementation for Webkit browsers (Chrome/Safari) */
    .filters::-webkit-scrollbar {
        height: 4px;
        /* Thin horizontal scrollbar */
        display: block;
        /* Force show */
    }

    .filters::-webkit-scrollbar-track {
        background: #222;
    }

    .filters::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
        border-radius: 2px;
    }

    .filter-btn {
        white-space: nowrap;
        flex: 0 0 auto;
        /* Make buttons slightly smaller in height for the bar */
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
        background: rgba(255, 255, 255, 0.1);
        /* Glass effect */
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(5px);
        color: #bdc3c7;
    }

    .filter-btn.active {
        background-color: var(--primary-color);
        color: #121212;
        font-weight: bold;
    }

    .section-title {
        margin-bottom: 1rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        display: none;
        /* Hide subtitle to save space */
    }
}

/* Status Label on Images */
.status-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: #121212;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 2px;
    z-index: 10;
    text-transform: uppercase;
}