:root {
    --primary-color: #3a86ff;
    /* Blue Ride Blue */
    --secondary-color: #0d1b2a;
    /* Darker Blue */
    --accent-color: #a8dadc;
    /* Soft Blue */
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-light: #f1f1f1;
    --text-muted: #a0a0a0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    background-image: url('../../assets/images/background_image.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Utilities */
.container {
    /* CHANGE THIS to adjust the maximum width of the content (header, body, etc.) */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #d62828;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background: #fff;
    color: var(--bg-dark);
}

/* Header */
header {
    background-color: rgba(54, 54, 54, 0.75);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    /* Header spans full width of the screen */
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    /* CHANGE THIS to adjust header height (top/bottom padding) */
    padding: 20px 0;

}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* .logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    border-radius: 14px;
    border: 3px solid #3a86ff;

} */

/* --- DESKTOP SETTINGS --- */
.logo-video {
    width: 250px;
    /* CHANGE THIS to resize logo on desktop */
    height: 110px;
    /* CHANGE THIS matching height */
    object-fit: cover;
    /* margin-bottom: 20px; REMOVED to equalize top/bottom spacing */
    border: 4px solid #3a86ff;
    border-radius: 14px;
    display: block;
}

.logo-video:hover {
    transform: scale(1.05);
}

.logo-img {
    display: none;
    /* Hide old img class just in case */
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #1a1a1a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        padding-bottom: 50px;
        /* Space for bottom interaction */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 60px;
        /* Reduced specific height for mobile */
        width: auto;
        /* Maintain aspect ratio */
        background-color: #ffffff;
    }

    /* --- MOBILE SETTINGS --- */

    /* 1. Mobile Logo Size - Maintaining Desktop Aspect Ratio (250/110 = ~2.27) */
    .logo-video {
        width: 150px;
        height: 66px;
        /* 150px / 2.27 = 66px */
        object-fit: cover;
        /* Ensure same cropping as desktop */
        border-width: 2px;
    }

    /* 2. Mobile Spacing (Prevent text hiding behind header) */
    .hero {
        padding-top: 150px;
        align-items: flex-start;
    }

    .hero-content {
        width: 100%;
        /* text-align: center is now global, so we don't need it here explicitly, but keeping it is safe */
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    /* Allow content to grow if needed */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../../assets/images/background_image.png') no-repeat center center/cover;
    /* Placeholder for hero image */
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 160px;
    /* Ensure content is visually centered BELOW the fixed header */
}

.hero-content {
    max-width: 700px;
    text-align: center;
    /* Unified alignment for all devices */
    margin: 0 auto;
    /* Center the container itself */
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

/* Featured Section */
.featured {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
}

.bike-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.bike-card {
    background-color: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bike-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.bike-image {
    height: 250px;
    background-color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bike-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.bike-card:hover .bike-image img {
    transform: scale(1.05);
}

.bike-info {
    padding: 25px;
}

.bike-brand {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.bike-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.bike-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.bike-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: #000;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Categories Navigation */
.categories-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.category-btn {
    padding: 12px 25px;
    background-color: rgba(58, 134, 255, 0.1);
    /* Slight blue tint */
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.4);
    transform: translateY(-3px);
}

/* Brands Navigation */
.brands-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.brand-btn {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 5px 15px;
    border-radius: 20px;
    transition: var(--transition);
}

.brand-btn:hover,
.brand-btn.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}