
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #000;
    line-height: 1.6;
    overflow-x: hidden;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: 1px;
}

html{
    scroll-behavior: smooth;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    /* background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%); */
}

.header.scrolled {
    background: rgba(255, 255, 255);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border-radius: 50px;
    top: 20px;
    width: 95%;
    left: 50%;
    transform: translateX(-50%);
}

.header.scrolled .top-bar{
    display: none;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

.top-bar-contact {
    display: flex;
    gap: 20px;
}

.top-bar-contact a, .top-bar-social a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-contact a:hover, .top-bar-social a:hover {
    color: #00adef;
}

.top-bar-social {
    display: flex;
    gap: 15px;
}

.top-bar-social i {
    font-size: 14px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    transition: all 0.3s ease;
}

.scrolled .nav-container {
    padding: 15px 50px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 20px;
    transition: all 0.3s ease;
}

.scrolled .logo img {
    height: 20px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.scrolled .logo-text {
    font-size: 18px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #000;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    width: calc(100% - 40px);
    height: 2px;
    background-color: #00adef;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link i {
    margin-left: 8px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Mega Dropdown */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    width:60vw;
    transform: translateX(60%,0);
    background-color: rgba(0, 0, 0, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform-origin: top;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    overflow: hidden;
}

.nav-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown-content {
    max-width: 70vw;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

/* Car Models Section */
.models-section {
    grid-column: 1 / -1;
    width: 100%;
}

.models-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.models-tab {
    background: none;
    border: none;
    color: #ccc;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 8px 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.models-tab::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #00adef;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.models-tab.active {
    color: #fff;
}

.models-tab.active::after {
    transform: scaleX(1);
}

.models-content {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.models-content.active {
    display: grid;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.car-model {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.car-model:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.car-model-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.car-model-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.7s ease;
}

.car-model:hover .car-model-image img {
    transform: scale(1.1);
}

.car-model-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

.car-model-name {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.car-model-info {
    padding: 20px;
    background-color: #0a0a0a;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.car-model-price {
    color: #00adef;
    font-size: 16px;
    font-weight: 600;
}

.car-model-details {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #ccc;
}

.car-model-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.car-model-btn {
    flex: 1;
    padding: 8px 5px;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.btn-explore {
    background-color: #00adef;
    color: #fff;
}

.btn-test-drive {
    background-color: transparent;
    color: #fff;
    border: 1px solid #00adef;
}

.btn-explore:hover, .btn-test-drive:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

/* Service Options */
.service-options {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; */
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.service-category {
    padding: 0;
}

.service-category h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.service-category h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #00adef;
}

.service-link {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 8px 0;
    gap: 8px;
}

.service-link:hover {
    color: #00adef;
    transform: translateX(5px);
}

.service-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(3px);
}

/* Right side buttons */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn, .dark-mode-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.search-btn:hover, .dark-mode-toggle:hover {
    color: #00adef;
}

.cta-button {
    background-color: #00adef;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0, 173, 239, 0.3);
}

.cta-button:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 173, 239, 0.5);
}

.cta-button i {
    font-size: 12px;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #000000;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .nav-container, .top-bar {
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero-title {
        font-size: 50px;
    }

    .mega-dropdown-content {
        padding: 30px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -300px;
        padding-right: 30px;
        width: 300px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        padding-top: 100px;
        flex-direction: column;
        align-items: flex-start;
        transition: all 0.4s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 15px 30px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mega-dropdown {
        position: static;
        width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        transform: scaleY(0);
        height: 0;
        transition: all 0.3s ease;
    }

    .nav-item.active .mega-dropdown {
        transform: scaleY(1);
        height: auto;
    }

    .mega-dropdown-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .models-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }

    .models-tab {
        padding: 8px 15px;
        font-size: 12px;
    }

    .hero-content {
        margin-top: 80px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .top-bar {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .hero-description {
        font-size: 16px;
    }

    .search-input {
        font-size: 18px;
        padding: 15px 40px 15px 0;
    }

    .search-close {
        top: 20px;
        right: 20px;
        font-size: 24px;
    }

    .logo img {
        height: 20px;
    }

    .logo-text {
        font-size: 18px;
    }

    .cta-button {
        padding: 10px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 14px;
    }

    .logo-text {
        display: none;
    }

    .logo img {
        height: 20px;
    }

    .cta-button span {
        display: none;
    }

    .cta-button {
        padding: 10px;
    }
}