/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-image img {
    width: 100%;
    max-width: 800px;     /* keep a limit so it doesn’t stretch too much */
    height: auto;         /* keep natural aspect ratio */
    object-fit: contain;  /* no aggressive cropping */
    object-position: center;
    border-radius: 15px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom/cover;
}

.hero-content {
    flex: 1;
    color: white;
    z-index: 2;
    max-width: 600px;
    margin-left: 5%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-image {
    flex: 1;
    text-align: center;
    z-index: 2;
}

/* .hero-image img {
    width: 500px;
    height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
} */

.hero-image img {
    width: 100%;           /* scale relative to container */
    max-width: 800px;      /* keeps it from becoming too large */
    height: auto;          /* keep natural aspect ratio */
    object-fit: contain;   /* or cover if you want cropping */
    object-position: center;
    display: block;
    margin: 0 auto;        /* keep it centered */
}

.hero::before {
    background: none !important;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8fafc;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Bikes Section */
.bikes-section {
    padding: 100px 0;
    background: white;
}

.bikes-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

/* Filters */
.filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-container {
    position: relative;
    min-width: 250px;
}

.search-container input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-container input:focus {
    border-color: #2563eb;
}

.search-container i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.sort-container select {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    background: white;
    color: #64748b;
    cursor: pointer;
    outline: none;
    min-width: 200px;
}

/* Bikes Grid */
.bikes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.bike-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.bike-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.bike-image {
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bike-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.bike-card:hover .bike-image img {
    transform: scale(1.05);
}

.bike-info {
    padding: 1.5rem;
}

.bike-category {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.bike-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.bike-info p {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.bike-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.spec {
    text-align: center;
}

.spec-value {
    display: block;
    font-weight: 600;
    color: #2563eb;
}

.spec-label {
    color: #64748b;
    font-size: 0.8rem;
}

.bike-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 1rem;
}

.bike-buttons {
    display: flex;
    gap: 0.5rem;
}

.bike-buttons .btn {
    flex: 1;
    padding: 10px;
    font-size: 0.9rem;
}

/* Load More */
.load-more-container {
    text-align: center;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.about-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.contact-item p {
    color: #64748b;
    margin: 0;
}

.contact-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2563eb;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.newsletter {
    display: flex;
    margin-top: 1rem;
}

.newsletter input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.newsletter button {
    padding: 10px 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-image img {
    width: 100%;
    border-radius: 15px;
}

.modal-details h2 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.modal-details p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.specs {
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.spec-label {
    color: #64748b;
    font-weight: 500;
}

.spec-value {
    font-weight: 600;
    color: #1e293b;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
}

.modal-buttons .btn {
    flex: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Theme Toggle Styles */
.theme-toggle-container {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    cursor: pointer;
    user-select: none;
}

.theme-toggle-track {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.theme-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.theme-icon {
    font-size: 12px;
    transition: all 0.3s ease;
}

.sun-icon {
    color: #f59e0b;
    opacity: 1;
}

.moon-icon {
    color: #6366f1;
    opacity: 0;
    position: absolute;
}

/* Dark theme toggle state */
.dark-theme .theme-toggle-track {
    background: linear-gradient(45deg, #1e1b4b, #312e81);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.5);
}

.dark-theme .theme-toggle-thumb {
    transform: translateX(30px);
    background: linear-gradient(45deg, #8b5cf6, #a855f7);
}

.dark-theme .sun-icon {
    opacity: 0;
}

.dark-theme .moon-icon {
    opacity: 1;
    color: white;
}

/* Dark Theme Variables and Styles */
.dark-theme {
    --primary-bg: #0f0f23;
    --secondary-bg: #1a1a2e;
    --accent-bg: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #a0a3bd;
    --border-color: #2d3748;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Dark theme body */
.dark-theme body {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--text-primary);
    position: relative;
    overflow-x: hidden;
}

.dark-theme body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: rgbFloat 20s ease-in-out infinite;
}

@keyframes rgbFloat {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    33% {
        transform: scale(1.1) rotate(120deg);
        opacity: 0.5;
    }
    66% {
        transform: scale(0.9) rotate(240deg);
        opacity: 0.4;
    }
}

/* Dark theme navbar */
.dark-theme .navbar {
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.dark-theme .logo {
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.dark-theme .nav-link {
    color: var(--text-primary);
    position: relative;
    transition: all 0.3s ease;
}

.dark-theme .nav-link:hover {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

.dark-theme .nav-link::after {
    background: linear-gradient(90deg, #00d4ff, #ff0080, #00d4ff);
    height: 2px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

/* Dark theme hero section */
.dark-theme .hero {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
}

.dark-theme .hero::before {
    background: none;
}

.dark-theme .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(255, 0, 128, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at top right, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom center, rgba(128, 0, 255, 0.15) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.dark-theme .hero-content h1 {
    background: linear-gradient(45deg, #00d4ff, #ff0080, #8000ff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite, textGlow 2s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes textGlow {
    from {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    }
    to {
        filter: drop-shadow(0 0 40px rgba(255, 0, 128, 0.7));
    }
}

.dark-theme .hero-content p {
    color: var(--text-secondary);
}

.dark-theme .hero-image img {
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.4));
}

/* Dark theme buttons with RGB effects */
.dark-theme .btn-primary {
    background: linear-gradient(45deg, #ff0080, #00d4ff, #8000ff);
    background-size: 300% 300%;
    animation: gradientButton 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.5);
    border: none;
    position: relative;
    overflow: hidden;
}

.dark-theme .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s;
}

.dark-theme .btn-primary:hover::before {
    left: 100%;
}

@keyframes gradientButton {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.dark-theme .btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.7);
}

.dark-theme .btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dark-theme .btn-secondary:hover {
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 128, 0.2));
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    color: #00d4ff;
}

.dark-theme .btn-outline {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
}

.dark-theme .btn-outline:hover {
    background: linear-gradient(45deg, #00d4ff, #8000ff);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    color: white;
}

/* Dark theme sections */
.dark-theme .features {
    background: var(--secondary-bg);
    position: relative;
}

.dark-theme .features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 0, 128, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.dark-theme .features h2 {
    color: var(--text-primary);
    background: linear-gradient(45deg, #00d4ff, #ff0080);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
}

.dark-theme .feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.dark-theme .feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
}

.dark-theme .feature-icon {
    background: linear-gradient(45deg, #00d4ff, #ff0080, #8000ff);
    background-size: 300% 300%;
    animation: gradientShift 4s ease-in-out infinite;
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.dark-theme .feature-card h3 {
    color: var(--text-primary);
}

.dark-theme .feature-card p {
    color: var(--text-secondary);
}

/* Dark theme bikes section */
.dark-theme .bikes-section {
    background: var(--primary-bg);
    position: relative;
}

.dark-theme .bikes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(128, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.dark-theme .bikes-section h2 {
    color: var(--text-primary);
    background: linear-gradient(45deg, #8000ff, #00d4ff, #ff0080);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease-in-out infinite;
}

.dark-theme .search-container input {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dark-theme .search-container input:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.dark-theme .search-container input::placeholder {
    color: var(--text-secondary);
}

.dark-theme .search-container i {
    color: var(--text-secondary);
}

.dark-theme .filter-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
}

.dark-theme .filter-btn:hover,
.dark-theme .filter-btn.active {
    background: linear-gradient(45deg, #00d4ff, #8000ff);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    color: white;
}

/* .dark-theme .sort-container select {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
} */
.dark-theme .sort-container select {
    background: rgba(30, 41, 59, 0.8);  /* dark background */
    backdrop-filter: blur(10px);
    border: 2px solid rgba(148, 163, 184, 0.3);
    color: #f1f5f9; /* light text */
}

.dark-theme .bike-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.dark-theme .bike-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 0, 128, 0.4);
    border-color: rgba(255, 0, 128, 0.5);
}

.dark-theme .bike-category {
    background: linear-gradient(45deg, #ff0080, #8000ff);
    box-shadow: 0 4px 15px rgba(255, 0, 128, 0.4);
}

.dark-theme .bike-info h3 {
    color: var(--text-primary);
}

.dark-theme .bike-info p {
    color: var(--text-secondary);
}

.dark-theme .spec-value {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.dark-theme .spec-label {
    color: var(--text-secondary);
}

.dark-theme .bike-price {
    color: #00ff88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
}

/* Dark theme about section */
.dark-theme .about {
    background: var(--secondary-bg);
}

.dark-theme .about h2 {
    color: var(--text-primary);
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

.dark-theme .about-text p {
    color: var(--text-secondary);
}

.dark-theme .stat-number {
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.dark-theme .stat-label {
    color: var(--text-secondary);
}

.dark-theme .about-image img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 255, 0.3);
}

/* Dark theme contact section */
.dark-theme .contact {
    background: var(--primary-bg);
}

.dark-theme .contact h2 {
    color: var(--text-primary);
    background: linear-gradient(45deg, #ff0080, #00d4ff, #8000ff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
}

.dark-theme .contact-item h4 {
    color: var(--text-primary);
}

.dark-theme .contact-item p {
    color: var(--text-secondary);
}

.dark-theme .contact-item i {
    background: linear-gradient(45deg, #00d4ff, #ff0080);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

.dark-theme .contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.dark-theme .contact-form input,
.dark-theme .contact-form textarea {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
}

.dark-theme .contact-form input:focus,
.dark-theme .contact-form textarea:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.dark-theme .contact-form input::placeholder,
.dark-theme .contact-form textarea::placeholder {
    color: var(--text-secondary);
}

/* Dark theme footer */
.dark-theme .footer {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
    border-top: 1px solid var(--glass-border);
}

.dark-theme .footer-section h4 {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.dark-theme .footer-section p {
    color: var(--text-secondary);
}

.dark-theme .footer-section ul li a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.dark-theme .footer-section ul li a:hover {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.dark-theme .social-links a {
    background: linear-gradient(45deg, #00d4ff, #ff0080, #8000ff);
    background-size: 300% 300%;
    animation: gradientShift 3s ease-in-out infinite;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

.dark-theme .social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.6);
}

.dark-theme .newsletter input {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
}

.dark-theme .newsletter button {
    background: linear-gradient(45deg, #00d4ff, #8000ff);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.dark-theme .footer-bottom {
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* Dark theme modal */
.dark-theme .modal {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.dark-theme .modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.dark-theme .modal-details h2 {
    color: var(--text-primary);
}

.dark-theme .modal-details p {
    color: var(--text-secondary);
}

.dark-theme .spec-item {
    border-bottom: 1px solid var(--border-color);
}

.dark-theme .spec-label {
    color: var(--text-secondary);
}

.dark-theme .spec-value {
    color: #00d4ff;
}

.dark-theme .close {
    color: var(--text-secondary);
}

.dark-theme .close:hover {
    color: #ff0080;
    text-shadow: 0 0 10px rgba(255, 0, 128, 0.6);
}

/* Smooth transitions for theme switching */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* RGB Glow Animation */
@keyframes rgbGlow {
    0% {
        box-shadow: 0 0 5px #ff0080, 0 0 10px #ff0080, 0 0 15px #ff0080;
    }
    33% {
        box-shadow: 0 0 5px #00d4ff, 0 0 10px #00d4ff, 0 0 15px #00d4ff;
    }
    66% {
        box-shadow: 0 0 5px #8000ff, 0 0 10px #8000ff, 0 0 15px #8000ff;
    }
    100% {
        box-shadow: 0 0 5px #ff0080, 0 0 10px #ff0080, 0 0 15px #ff0080;
    }
}

.dark-theme .feature-card:hover,
.dark-theme .bike-card:hover {
    animation: rgbGlow 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 0 50px;
    }
    
    .hero-content {
        margin-left: 0;
        margin-bottom: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .bikes-grid {
        grid-template-columns: 1fr;
    }
    
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .stats {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Mobile image sizing */
    .hero-image img {
        width: 100%;
        max-width: 400px;
        height: 250px;
    }
    
    .bike-image {
        height: 250px;
    }
    
    .about-image img {
        max-width: 100%;
        height: auto;
    }


}
/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /* HERO */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 1rem 40px;
    }

    .hero-content {
        margin: 0 auto 2rem auto;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image img {
        width: 100%;
        max-width: 350px;
        height: auto; /* ✅ no fixed height */
        margin: 0 auto;
    }

    /* FEATURES GRID */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* BIKES GRID (use auto-fit) */
    .bikes-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    /* FILTERS */
    .filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* ABOUT SECTION */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* CONTACT SECTION */
    .contact-content {
        grid-template-columns: 1fr;
    }

    /* MODAL */
    .modal-body {
        grid-template-columns: 1fr;
    }

    /* STATS */
    .stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* FOOTER */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Bike images shrink gracefully */
    .bike-image {
        height: auto; /* ✅ no fixed height */
    }
}
