/* =========================================
   VARIABLES & THEME CONFIGURATION
   ========================================= */
:root {
    /* 🎨 Color Palette - Light / Neon Orange */
    --bg-color: #f4f5f7;              /* main background */
    --bg-light: #ffffff;              /* cards / sections */
    --text-primary: #1a1a1a;
    --text-secondary: #6b6f76;

    --accent-color: #ff6a00;          /* neon orange */
    --accent-glow: rgba(255, 106, 0, 0.25);
    --accent-dark: #cc5500;

    --border-color: rgba(0, 0, 0, 0.08);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-pill: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
/* =========================================
   CSS RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   PRELOADER
   ========================================= */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: pulse 1.5s infinite alternate;
}

/* STEP 3: Preloader now shows logo image instead of bicycle icon */
.preloader-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.loading-bar {
    width: 100px;
    height: 4px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent-color);
    animation: loading 2s ease forwards;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

@keyframes loading {
    to { width: 100%; }
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 20px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 15px; }
h3 { font-size: 1.5rem; margin-bottom: 10px; }

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-color), #f5e4b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.grid-layout {
    display: grid;
    gap: 30px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul { list-style: none; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

/* 🔥 Primary Button (Neon Orange) */
.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--accent-glow);
}

/* ⚪ Secondary Button */
.btn-secondary {
    background-color: var(--bg-light);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #f1f1f1;
    border-color: var(--accent-color);
}

/* 🔶 Outline Button */
.btn-outline-light {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-outline-light:hover {
    background: var(--accent-color);
    color: #ffffff;
}

/* 🛒 Dukaan Button (Special Highlight) */
.btn-dukaan {
    background: #ffffff;
    color: var(--text-primary);
    border: 2px solid var(--accent-color);
    font-weight: 700;
}

.btn-dukaan:hover {
    background: var(--accent-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

/* 🔥 On Scroll */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

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

/* STEP 3: Logo image styles */
.site-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--accent-color);
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.store-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    border: 1px dashed var(--accent-color);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
}

.store-link:hover {
    background: rgb(255, 255, 255);
}

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

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    background: #111;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        to right,
        rgba(11, 12, 16, 0.96) 0%,
        rgba(11, 12, 16, 0.65) 55%,
        rgba(11, 12, 16, 0.25) 100%
    );
}

/* Hero: flex row — text left, logo right */
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: var(--container-width);
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 580px;
}

.hero-logo-wrapper {
    flex-shrink: 0;
}

.hero-logo-wrapper img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 50px rgb(255, 255, 255), 0 8px 32px rgba(0, 0, 0, 0.5);
    display: block;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgb(255, 255, 255);
    color: var(--accent-color);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid rgb(255, 255, 255);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats {
    background: var(--bg-light);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0;
}

.stat-box p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* =========================================
   ACCESSORIES / PRODUCT CARDS
   ========================================= */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.products-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* STEP 2: cursor pointer on product cards */
.product-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgb(224, 214, 214);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.25)
}

.card-img {
    height: 250px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.card-img img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img img {
    transform: scale(1.1);
}

.card-action {
    position: absolute;
    bottom: -50px;
    right: 20px;
    transition: var(--transition-fast);
}

.product-card:hover .card-action {
    bottom: 20px;
}

/* STEP 2: btn-icon is now a <span> — needs display: flex */
.btn-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #0b0c10;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.btn-icon:hover {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
}

.category {
    font-size: 0.8rem;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

/* =========================================
   SECOND-HAND BIKES
   ========================================= */
.dark-section {
    background: linear-gradient(180deg, var(--bg-color) 0%, #08090a 100%);
}

.bikes-grid {
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
}

.bike-card {
    display: flex;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.bike-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-color);
}

.bike-img {
    width: 45%;
    position: relative;
    background: #111;
}

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

.status-tag {
    position: absolute;
    top: 15px; left: 15px;
    background: var(--accent-color);
    color: #0b0c10;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0.5px;
}

.bike-details {
    padding: 25px;
    width: 55%;
    display: flex;
    flex-direction: column;
}

.bike-specs {
    margin: 15px 0;
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.bike-specs span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bike-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 15px;
}

/* =========================================
   LOCATIONS
   ========================================= */
.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.location-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container {
    height: 300px;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: invert(90%) hue-rotate(180deg) brightness(80%) contrast(150%);
}

.location-info {
    padding: 30px;
}

.location-info h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.location-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.location-info i {
    color: var(--accent-dark);
    font-size: 1.2rem;
}

/* =========================================
   CONTACT / CTA
   ========================================= */
.ct-section {
    padding: 80px 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgb(0, 0, 0) 100%
    );
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.cta-container h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
}

.cta-container p {
    max-width: 500px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1EBE5D;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: var(--bg-light);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding: 60px 20px;
}

.footer-brand p {
    margin-top: 20px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-bottom {
    background: #08090a;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* STEP 4: Dukaan image button in footer */
.dukaan-btn {
    display: inline-block;
    margin-top: 12px;
}

.dukaan-btn img {
    width: 36px;
    height: 36px;
    border: 2px solid var(--accent-color);
    border-radius: 6px;
    padding: 4px;
    background: #fff;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.dukaan-btn img:hover {
    transform: scale(1.1);
}

/* =========================================
   FLOATING BUTTONS
   ========================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px; height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-fast);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.mobile-only {
    display: none;
}

/* =========================================
   ANIMATIONS
   ========================================= */
[data-animate] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-in"]  { transform: translateY(0); }
[data-animate="fade-up"]  { transform: translateY(40px); }
[data-animate="slide-up"] { transform: translateY(60px); }
[data-animate="zoom-in"]  { transform: scale(0.95); }

.animated {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* =========================================
   RESPONSIVE — TABLET (≤1024px)
   ========================================= */
@media (max-width: 1024px) {
    .bikes-grid { grid-template-columns: 1fr; }

    .hero-content {
        background: rgba(11, 12, 16, 0.6);
        padding: 30px;
        border-radius: var(--radius-md);
        backdrop-filter: blur(5px);
    }

    .hero-logo-wrapper img {
        width: 200px;
        height: 200px;
    }
}

/* =========================================
   RESPONSIVE — MOBILE (≤768px)
   ========================================= */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        background: var(--bg-light);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-fast);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn { display: block; }
    .nav-actions .store-link { display: none; }

    .hero-logo-wrapper { display: none; }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .locations-grid { grid-template-columns: 1fr; }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mobile-only {
        display: flex;
        position: fixed;
        bottom: 30px;
        left: 30px;
        width: 60px; height: 60px;
        background-color: var(--accent-color);
        color: #0b0c10;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        box-shadow: 0 4px 15px var(--accent-glow);
        z-index: 1000;
    }

    .cta-buttons { flex-direction: column; align-items: center; }
}

/* =========================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ========================================= */
@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .bike-card { flex-direction: column; }
    .bike-img { width: 100%; height: 200px; }
    .bike-details { width: 100%; }
    .hero-buttons { flex-direction: column; }
    .products-grid { grid-template-columns: 1fr; }
}
