:root {
    --primary-black: #000000;
    --primary-red: #ff0000;
    --primary-white: #ffffff;
    --dark-gray: #1a1a1a;
    --light-gray: #f5f5f5;
    --accent-red: #cc0000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--primary-white);
    background-color: var(--primary-black);
    overflow-x: hidden;
    padding-top: 120px !important;
}

/* Loading Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.bike-loader {
    width: 200px;
    height: 100px;
    position: relative;
    margin-bottom: 20px;
}

.bike {
    position: absolute;
    width: 80px;
    height: 40px;
    background: var(--primary-red);
    border-radius: 5px;
    top: 30px;
    left: 10px;
    animation: bikeMove 2s linear infinite;
}

.bike::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-black);
    border-radius: 50%;
    top: -10px;
    left: 10px;
    box-shadow: 40px 0 0 var(--primary-black);
}

.bike::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 30px;
    background: var(--primary-black);
    top: -25px;
    left: 25px;
}

.wheel {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--primary-white);
    border-radius: 50%;
    top: 50px;
    animation: wheelSpin 1s linear infinite;
}

.wheel.front {
    left: 10px;
}

.wheel.back {
    left: 50px;
}

.wheel::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.road {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-white);
}

.road::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 4px;
    background: var(--primary-red);
    animation: roadLine 1s linear infinite;
}

@keyframes bikeMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(120px); }
}

@keyframes wheelSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes roadLine {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(200px); }
}

.loading-text {
    color: var(--primary-white);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Navigation */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    height: 120px !important;
    background: rgba(0, 0, 0, 0.98) !important;
    padding: 0.8rem 0 !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-black);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(0, 0, 0, 0.98) !important;
}

.navbar-brand {
    font-weight: 800;
    font-size: 2rem;
    color: var(--primary-white) !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 !important;
    line-height: 1 !important;
}

.navbar-brand .logo-red {
    color: var(--primary-red);
}

.navbar-nav .nav-link {
    color: var(--primary-white) !important;
    font-weight: 500;
    margin: 0 0.3rem !important;
    padding: 0.5rem 0.8rem !important;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-red) !important;
    transform: translateY(-2px);
}

/* Professional Offers Ticker */
.offers-ticker {
    position: fixed !important;
    top: 120px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1029 !important;
    height: 50px !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    background: linear-gradient(135deg, var(--primary-black) 0%, #2a0a0a 100%);
    border-bottom: 2px solid var(--primary-red);
    overflow: hidden;
}

.offers-ticker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 0, 0, 0.1) 50%, 
        transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.ticker-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
}

.ticker-label {
    background: var(--primary-red);
    color: var(--primary-white);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 4px 25px rgba(255, 0, 0, 0.6);
        transform: scale(1.05);
    }
}

.ticker-content {
    display: flex;
    gap: 40px;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.ticker-item:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
}

.ticker-icon {
    color: var(--primary-red);
    font-size: 1.1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.ticker-discount {
    background: linear-gradient(45deg, var(--primary-red), #ff6b6b);
    color: var(--primary-white);
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes ticker-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.offers-ticker:hover .ticker-content {
    animation-play-state: paused;
}

/* Enhanced Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(255, 0, 0, 0.15)), 
                url('bg.jpeg') center/cover no-repeat !important;
    min-height: calc(100vh - 120px) !important;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon points="0,0 1000,0 1000,1000" fill="%23ff0000" opacity="0.1"/></svg>');
    background-size: cover;
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease-out;
}

.hero-title .red-text {
    color: var(--primary-red);
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ccc;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    margin-bottom: 2rem;
}

.hero-stats h3 {
    font-weight: 700;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--primary-white);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.btn-primary:hover {
    background: var(--accent-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-red);
    color: var(--primary-white);
    transform: translateY(-3px);
}

/* Cards */
.product-card {
    background: var(--dark-gray);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,0,0,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.2);
}

.product-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 1.5rem;
    background: var(--dark-gray);
}

.product-card .card-title {
    color: var(--primary-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-card .card-text {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-price {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: 700;
}

.product-compare-price {
    color: #666;
    text-decoration: line-through;
    font-size: 1rem;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-red);
}

.bg-dark-custom {
    background-color: var(--dark-gray) !important;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--dark-gray);
    border-top: 2px solid var(--primary-red);
}

.footer-title {
    color: var(--primary-white);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

/* Cart Count */
.cart-count {
    background: var(--primary-red);
    color: var(--primary-white);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    position: absolute;
    top: -5px;
    right: -5px;
}

/* Form Controls */
.form-control {
    background: var(--dark-gray);
    border: 2px solid #333;
    border-radius: 10px;
    color: var(--primary-white);
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--dark-gray);
    border-color: var(--primary-red);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
    color: var(--primary-white);
}

.form-select {
    background: var(--dark-gray);
    border: 2px solid #333;
    border-radius: 10px;
    color: var(--primary-white);
    padding: 12px 15px;
}

.form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 20px;
}

.badge-danger {
    background: var(--primary-red);
    color: var(--primary-white);
}

/* Alert Styles */
.custom-alert {
    position: fixed;
    top: 140px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    border-radius: 10px;
    border: none;
}

/* Feature Icons */
.feature-icon {
    color: var(--primary-red);
}

/* Text utilities */
.text-danger {
    color: var(--primary-red) !important;
}

/* Background utilities */
.bg-danger {
    background-color: var(--primary-red) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-gray);
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-red);
    transform: translateY(-5px);
}

/* Color Options */
.color-options {
    margin: 10px 0;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-dot:hover {
    transform: scale(1.2);
}

.color-dot.active {
    border-color: var(--primary-white);
}

/* Popular Bikes Full Width Carousel */
.popular-bikes-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 15px;
    background: var(--dark-gray);
}

.popular-bikes-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
    height: 100%;
    width: 100%;
}

.popular-bike-slide {
    min-width: 100%;
    height: 100%;
    padding: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bike-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-black);
    border-radius: 10px;
    overflow: hidden;
}

.popular-bike-slide img {
    max-width: 50%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.popular-bike-slide.active img {
    transform: scale(1.05);
}

.bike-overlay {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.bike-overlay h4 {
    color: var(--primary-white);
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.bike-overlay p {
    color: var(--primary-red);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Newly Launched Section */
.newly-launched-section {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    height: 500px;
    display: flex;
    flex-direction: column;
}

.newly-launched-title {
    color: var(--primary-white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-red);
}

.newly-launched-title i {
    color: var(--primary-red);
}

.newly-launched-slider-container {
    flex: 1;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.newly-launched-slider-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
    height: 100%;
    width: 100%;
}

.newly-launched-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.newly-launched-slide.active {
    opacity: 1;
}

.newly-launched-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.newly-launched-slide.active .newly-launched-image {
    transform: scale(1.02);
}

/* Customer Reviews Auto Carousel */
.reviews-auto-carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 300px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 15px;
}

.reviews-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
    height: 100%;
    width: 100%;
}

.review-slide-item {
    min-width: 100%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-card {
    background: #1d6bb8;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-red);
    margin-right: 15px;
}

.review-user h5 {
    margin-bottom: 5px;
}

.review-rating {
    color: #ffc107;
}

.review-text {
    color: black;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.review-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

/* Filter Dropdown */
.filter-dropdown {
    animation: slideDown 0.3s ease-out;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid rgba(255, 0, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.filter-dropdown .card {
    background: transparent;
    border: none;
}

.filter-dropdown .card-body {
    padding: 25px;
}

.filter-dropdown h6 {
    color: var(--primary-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
    position: relative;
}

.filter-dropdown h6::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-red);
}

.filter-dropdown .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0.25rem;
    margin-right: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-dropdown .form-check-input:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.filter-dropdown .form-check-label {
    color: #ccc;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.filter-dropdown .form-check-label:hover {
    color: var(--primary-white);
}

.filter-dropdown .form-check-input:checked + .form-check-label {
    color: var(--primary-white);
    font-weight: 500;
}

/* Product Image Slider */
.product-image-slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    background: var(--dark-gray);
    margin-bottom: 20px;
}

.product-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
    width: 100%;
}

.product-image-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.product-image-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.product-image-slide.active img {
    transform: scale(1.02);
}

.product-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.product-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-slider-dot.active {
    background-color: var(--primary-red);
    transform: scale(1.2);
}

.product-slider-dot:hover {
    background-color: var(--primary-red);
    transform: scale(1.1);
}

.product-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.product-slider-arrow:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-50%) scale(1.1);
}

.product-slider-arrow.prev {
    left: 20px;
}

.product-slider-arrow.next {
    right: 20px;
}

.image-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 10px !important;
    }
    
    .navbar {
        height: 60px !important;
        padding: 0.5rem 0 !important;
    }
    
    .offers-ticker {
        top: 60px !important;
        height: 41px !important;
        padding: 10px 0 !important;
    }
    
    .hero-section {
        min-height: calc(100vh - 130px) !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .popular-bikes-carousel {
        height: 300px;
    }
    
    .newly-launched-section {
        height: 300px;
    }
    
    .reviews-auto-carousel {
        height: 350px;
    }
    
    .product-image-slider-container {
        height: 400px;
    }
    
    .product-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .product-card .card-img-top {
        height: 200px;
    }
    
    .popular-bikes-carousel {
        height: 250px;
    }
    
    .newly-launched-section {
        height: 200px;
        padding: 15px;
    }
    
    .newly-launched-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .reviews-auto-carousel {
        height: 400px;
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    .product-image-slider-container {
        height: 300px;
    }
    
    .product-slider-dots {
        bottom: 10px;
    }
    
    .image-counter {
        top: 10px;
        right: 10px;
        padding: 3px 10px;
        font-size: 0.8rem;
    }
}

/* Remove any extra margins/padding from containers */
.container {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Ensure main content starts properly */
.main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Add to your existing CSS */
.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.brand-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-color: #dc3545;
}

.brand-logo-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

.brand-name {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.brand-count {
    color: #aaa;
    font-size: 0.9rem;
    margin: 0;
}

.bike-model-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bike-model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.bike-model-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.bike-model-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bike-model-card:hover .bike-model-image {
    transform: scale(1.05);
}

.bike-rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #ffd700;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bike-model-info {
    flex-grow: 1;
    background: #f8f9fa;
}

.bike-model-name {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.bike-model-price {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.bike-model-spec {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.bike-model-actions {
    background: white;
    border-top: 1px solid #eee;
}

.view-products-btn {
    transition: all 0.3s ease;
}

.view-products-btn:hover {
    transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brand-logo-container {
        height: 100px;
    }
    
    .brand-logo {
        max-height: 60px;
    }
    
    .bike-model-image-container {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .col-6 {
        padding: 8px;
    }
    
    .brand-card {
        padding: 15px;
    }
    
    .bike-model-image-container {
        height: 160px;
    }
}
/* Add to style.css or in a style tag in checkout.html */
.checkout-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 1rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.step.active .step-number {
    background: var(--primary-red, #ff0000);
}

.step-label {
    color: #ccc;
    font-size: 0.9rem;
}

.step.active .step-label {
    color: white;
    font-weight: bold;
}

/* Loading screen animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

/* Faster fade transitions */
.fade-in {
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Button loading states */
.btn.loading {
    position: relative;
    color: transparent !important;
}

.btn.loading:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* style.css - Custom styles for MOXZILLA */

:root {
    --primary-red: #dc3545;
    --dark-bg: #1a1a1a;
    --darker-bg: #121212;
    --light-text: #f8f9fa;
    --muted-text: #6c757d;
}

body {
    background-color: var(--darker-bg);
    color: var(--light-text);
    font-family: 'Poppins', sans-serif;
}

/* Navigation */
.navbar {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-red {
    color: var(--primary-red);
    font-weight: 800;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darker-bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.bike-loader {
    position: relative;
    width: 200px;
    height: 100px;
}

.bike {
    position: absolute;
    width: 80px;
    height: 40px;
    background-color: var(--primary-red);
    border-radius: 5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: moveBike 2s linear infinite;
}

.wheel {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--light-text);
    border-radius: 50%;
    top: 60%;
}

.wheel.front {
    left: 20px;
}

.wheel.back {
    right: 20px;
}

.wheel::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--primary-red);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.road {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--muted-text);
    bottom: 0;
    left: 0;
}

@keyframes moveBike {
    0% { transform: translate(-100%, -50%); }
    100% { transform: translate(100%, -50%); }
}

.loading-text {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2rem;
    color: var(--light-text);
}

.loading-text span {
    color: var(--primary-red);
}

/* Page Header */
.bg-dark-custom {
    background-color: var(--dark-bg);
    border-radius: 10px;
    margin: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #b7b9ba;
}

/* Product Cards */
.product-card {
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.product-img {
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: 700;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--muted-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.social-links a {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Form controls */
.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light-text);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-red);
    color: var(--light-text);
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Buttons */
.btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-outline-danger {
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-outline-danger:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Badges */
.badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

/* Search box */
.search-box {
    min-width: 250px;
}

/* Cart count */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 0.7rem;
    padding: 0.2em 0.5em;
    background-color: var(--primary-red);
}
    /* Payment Method Styles */
    .payment-option-card {
        background: rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        cursor: pointer;
        height: 100%;
    }
    
    .payment-option-card:hover {
        background: rgba(255, 0, 0, 0.05);
        transform: translateY(-2px);
    }
    
    .payment-option-card.border-danger {
        background: rgba(255, 0, 0, 0.1);
        border: 2px solid #dc3545 !important;
    }
    
    /* Card Icons */
    .card-icons i {
        font-size: 1.5rem;
        opacity: 0.7;
    }
    
    .card-icons i:hover {
        opacity: 1;
    }
    
    /* Step Indicators */
    .checkout-steps {
        display: flex;
        justify-content: space-between;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .step {
        text-align: center;
        flex: 1;
        position: relative;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #333;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 10px;
        font-weight: bold;
        border: 2px solid #333;
    }
    
    .step.active .step-number {
        background: #dc3545;
        border-color: #dc3545;
    }
    
    .step-label {
        color: #666;
        font-size: 0.9rem;
    }
    
    .step.active .step-label {
        color: #fff;
        font-weight: 500;
    }
    
    /* Form validation */
    .is-invalid {
        border-color: #dc3545 !important;
    }
.text-muted {
    --bs-text-opacity: 1;
    color: rgb(254, 0, 0) !important;
}
.text-white
 {
    --bs-text-opacity: 1;
    color:white !important;
 }
.navbar>.container, .navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
    background-color: black;
}
.navbar-collapse.show ~ .main-content .offers-ticker {
    top: 140px; /* Adjusted to appear below mobile search bar */
}
.navbar-collapse.show ~ .main-content {
    margin-top: 100px; /* Extra space when navbar is expanded */
}
