/* Reset default browser padding/margin */

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}


/* Navbar Styles */

h2,
h1,
h3 {
    text-transform: uppercase;
    font-weight: 700;
}

.navbar {
    background: #111;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    /* parent for absolute positioning */
}

.nav-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.4em;
    font-weight: bold;
    color: #e60000;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 4px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    display: inline-block;
    /* important for transform */
}

.nav-links a:hover {
    color: #fff;
    animation: flyUp 0.5s forwards;
    background: #c40000;
}


/* Keyframes for "fly up + fade out" */

@keyframes flyUp {
    0% {
        transform: translateX(0);
        opacity: 1;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
    }
    50% {
        transform: translateX(-10px);
        opacity: 0;
        -webkit-transform: translateX(-10px);
        -moz-transform: translateX(-10px);
        -ms-transform: translateX(-10px);
        -o-transform: translateX(-10px);
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
        -webkit-transform: translateX(0px);
        -moz-transform: translateX(0px);
        -ms-transform: translateX(0px);
        -o-transform: translateX(0px);
    }
}


/* Dropdown container */

.dropdown {
    position: relative;
    z-index: 8000;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    /* directly below navbar */
    right: 0;
    height: 800px;
    width: 1000px;
    background: #fff;
    /* or whatever color you want */
    display: none;
    /* hidden by default */
    z-index: 1000;
    padding: 20px;
    color: #333;
    transition: all 0.5s ease-in-out;
    border-radius: 10px;
    transform: translateX(40%);
}

.dropdown:hover .dropdown-menu {
    display: flex;
}


/* Left side categories */

.menu-left {
    background: #f8f8f8;
    padding: 15px;
    width: 150px;
}

.menu-left ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-left li {
    padding: 8px;
    cursor: pointer;
    font-weight: 600;
}

.menu-left li.active,
.menu-left li:hover {
    color: #e60000;
}


/* Right side products */

.menu-right {
    padding: 15px;
    display: flex;
    flex: 1;
}

.menu-items {
    display: flex;
    gap: 1px;
    flex-wrap: wrap;
}

.item {
    text-align: center;
}

.item img {
    width: 350px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.item img:hover {
    transform: scale(1.05);
}


/* Mobile Responsive */

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        background: #111;
        position: absolute;
        top: 60px;
        right: 0px;
        width: 100%;
        border-radius: 6px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    }
    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }
    .nav-links.show {
        max-height: 500px;
        /* enough to fit your menu */
        opacity: 1;
    }
    .menu-toggle {
        display: block;
        font-size: 1.6em;
        cursor: pointer;
    }
    .dropdown-menu {
        overflow-y: scroll;
        width: auto;
        position: relative;
        transform: translateX(00%);
        height: 200px;
    }
    .dropdown a {
        color: #e60000;
        background-color: transparent;
    }
    .item img {
        width: 100px;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}


/* hero */

.hero {
    background: url('img/gsx_show.jpg') no-repeat center center/cover;
    color: white;
    padding: 360px 10px;
    text-align: center;
}


/* hero */


/* bike spec */

h1 {
    text-align: center;
    margin-bottom: 10px;
}

.section {
    background: white;
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Key Features Section */

.key-features {
    background: linear-gradient(135deg, #0f0f0f, #1e1e1e);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 700px;
    margin: 30px auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    border: #e60000 1px solid;
}

.key-features h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #e60000;
    /* Sporty accent color */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.key-features ul {
    list-style: none;
    padding: 0;
}

.key-features ul li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px 12px 45px;
    border-radius: 8px;
    transition: transform 0.2s ease, background 0.2s ease;
    border: #e60000 1px solid;
}

.key-features ul li::before {
    content: "✔";
    position: absolute;
    left: 15px;
    color: #e60000;
    font-size: 18px;
    font-weight: bold;
}

.key-features ul li:hover {
    transform: translateX(5px);
    background: rgba(255, 60, 0, 0.15);
}


/* Specifications Section */

.specs-section {
    background: linear-gradient(135deg, #0f0f0f, #1e1e1e);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 800px;
    margin: 30px auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    border: #e60000 1px solid;
}

.specs-section h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #e60000;
    /* Sporty red accent */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.specs-table th,
.specs-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-table th {
    text-align: left;
    background: rgba(255, 60, 0, 0.1);
    color: #e60000;
    font-weight: bold;
    border-left: 3px solid#e60000;
}

.specs-table td {
    color: #e0e0e0;
}

.specs-table tr:hover {
    background: rgba(255, 60, 0, 0.15);
    transition: background 0.2s ease;
}

@media (max-width: 768px) {
    .bike-display {
        flex-direction: column;
    }
}


/* bike spec */


/* warrenty */

.warr {
    padding: 80px 20px;
    background-image: url('img/warr.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .warr {
        padding: 20px 5px;
    }
}


/* warrenty */

.product-section {
    display: flex;
    flex-wrap: wrap;
    padding: 50px;
    gap: 50px;
    justify-content: center;
    align-items: center;
}

.bike-image img {
    width: 500px;
    max-width: 100%;
    transition: opacity 0.3s ease-in-out;
}

.bike-info {
    max-width: 400px;
}

.color-palette {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.color-option {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.price {
    font-size: 1.5rem;
    color: green;
}

.buy-btn {
    padding: 20px 90px;
    background: red;
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    width: 100%;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.buy-btn:hover {
    background: transparent;
    color: #c40000;
    border: #c40000 1px solid;
}


/* Footer */


/* Footer Styles */

.footer {
    background: #111;
    color: #ddd;
    padding: 50px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-col h3 {
    color: #e60000;
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 0.95em;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin: 8px 0;
}

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #e60000;
}


/* Social Icons */

.social-links {
    display: flex;
    gap: 15px;
}

.social-links i {
    color: #ddd;
    transition: all 0.3s;
}

.social-links i:hover {
    color: #e60000;
}


/* Bottom Bar */

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #333;
    font-size: 0.9em;
    color: #aaa;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: #E43636;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: all 0.05s ease-in-out;
    z-index: 9999;
    opacity: 1;
}


/* Hover effect */

.cursor-dot.hover {
    width: 70px;
    height: 70px;
    opacity: 0.4;
}

@media (max-width: 568px) {
    .cursor-dot {
        visibility: hidden;
    }
}


/* Floating Button Container */

.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}


/* Go to Top Button */

#goTopBtn {
    background-color: #e60000;
    color: #fff;
    border: none;
    padding: 12px 15px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: none;
    /* hidden by default */
}

#goTopBtn:hover {
    background-color: #c40000;
}


/* WhatsApp Button */

#whatsappBtn {
    background-color: #25D366;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

#whatsappBtn img {
    width: 28px;
    height: 28px;
}

#whatsappBtn:hover {
    transform: scale(1.1);
}


/* Loader container */


/* Loader container */

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111111;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}


/* Wrapper gets the coming animation */

.wheel-wrapper {
    animation: coming 0.9s ease-out;
}


/* Wheel only spins */

.loader-wheel {
    width: 80px;
    height: 80px;
    border: 8px solid #2a2a2a;
    border-top: 8px solid #e60000;
    border-radius: 50%;
    animation: spin 0.3s linear infinite;
}


/* Text under wheel */

.loader-text {
    margin-top: 30px;
    color: #e60000;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 900;
    animation: coming 0.9s ease-out;
}


/* Spin = only rotation */

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Coming = only movement + opacity */

@keyframes coming {
    0% {
        transform: translateY(100px);
        opacity: 0;
        -webkit-transform: translateY(100px);
        -moz-transform: translateY(100px);
        -ms-transform: translateY(100px);
        -o-transform: translateY(100px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Hide loader */

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}