/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background: #f5f7fa;

    color: #071426;

    overflow-x: hidden;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    width: 100%;

    height: 78px;

    background: #ffffff;

    border-bottom: 1px solid #e7ebf0;

    position: relative;

    z-index: 20;
}


.nav-container {
    width: min(1200px, 92%);

    height: 100%;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.logo {
    text-decoration: none;

    font-size: 30px;

    font-weight: 800;

    color: #071426;
}


.logo span {
    color: #0877ff;
}


.nav-container nav {
    display: flex;

    align-items: center;

    gap: 30px;
}


.nav-container nav a {
    text-decoration: none;

    color: #536274;

    font-size: 15px;

    font-weight: 600;

    transition: .3s;
}


.nav-container nav a:hover {
    color: #0877ff;
}


.book-btn {
    text-decoration: none;

    color: white;

    background: #0877ff;

    padding: 13px 23px;

    border-radius: 10px;

    font-weight: 700;

    transition: .3s;
}


.book-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(8, 119, 255, .25);
}


/* =====================================================
   MOVING HERO
===================================================== */

.details-hero {

    position: relative;

    width: 100%;

    height: 480px;

    overflow: hidden;

    background: #071426;

}


/* IMAGE TRACK */

.hero-track {

    position: absolute;

    top: 0;

    left: 0;

    height: 100%;

    width: max-content;

    display: flex;

    gap: 18px;

    align-items: center;

    padding-left: 18px;

    animation: moveHero 35s linear infinite;

}


/* EACH IMAGE */

.hero-image {

    width: 480px;

    height: 390px;

    flex-shrink: 0;

    border-radius: 24px;

    overflow: hidden;

    box-shadow:
        white
}


.hero-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform .5s ease;
}


.hero-image:hover img {

    transform: scale(1.05);

}


/* =====================================================
   HERO ANIMATION
===================================================== */

@keyframes moveHero {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* DARK OVERLAY */

.hero-overlay {
    display: none;
}


/* HERO TEXT */

.hero-title {

    position: absolute;

    z-index: 5;

    left: 50%;

    top: 50%;

    transform: translate(-50%, -50%);

    text-align: center;

    color: white;

    width: 90%;
}


.hero-title span {

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 4px;

    color: #61b0ff;
}


.hero-title h1 {

    font-size: clamp(45px, 7vw, 82px);

    line-height: 1;

    margin: 15px 0;

    font-weight: 800;

    text-shadow:
        0 5px 25px rgba(0,0,0,.35);
}


.hero-title p {

    font-size: 15px;

    letter-spacing: 3px;

    font-weight: 700;

    color: #dce8f5;
}


/* =====================================================
   MAIN DETAILS SECTION
===================================================== */

.details-page {

    padding: 90px 0 110px;

    background: #f5f7fa;
}


.details-container {

    width: min(1200px, 92%);

    margin: auto;

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 55px;

    align-items: stretch;
}


/* =====================================================
   INFORMATION CARD - LEFT
===================================================== */

.vehicle-content {

    background: white;

    border-radius: 28px;

    padding: 42px;

    border: 1px solid #e5eaf0;

    box-shadow:
        0 20px 60px rgba(8, 25, 45, .08);

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.vehicle-type {

    display: inline-block;

    width: fit-content;

    color: #0877ff;

    background: #edf6ff;

    padding: 8px 13px;

    border-radius: 50px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 18px;
}


.vehicle-content h1 {

    font-size: 46px;

    line-height: 1.05;

    margin-bottom: 18px;

    color: #071426;
}


.description {

    color: #687789;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 28px;
}


/* =====================================================
   FEATURES
===================================================== */

.features {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin-bottom: 28px;
}


.feature {

    padding: 17px;

    border-radius: 14px;

    background: #f7f9fc;

    border: 1px solid #e7edf3;

    display: flex;

    flex-direction: column;

    gap: 7px;
}


.feature span {

    color: #8997a6;

    font-size: 12px;

    font-weight: 600;
}


.feature strong {

    font-size: 15px;

    color: #071426;
}


/* =====================================================
   PRICE
===================================================== */

.price-section {

    display: flex;

    gap: 12px;

    margin-bottom: 30px;
}


.price-section > div {

    flex: 1;

    padding: 17px;

    background: #071426;

    border-radius: 14px;

    display: flex;

    flex-direction: column;

    gap: 5px;
}


.price-section small {

    color: #91a2b5;

    font-size: 11px;

    font-weight: 800;
}


.price-section strong {

    color: white;

    font-size: 19px;
}


/* =====================================================
   BUTTONS
===================================================== */

.book-now {

    display: block;

    text-align: center;

    text-decoration: none;

    background: #0877ff;

    color: white;

    padding: 17px 25px;

    border-radius: 13px;

    font-weight: 800;

    transition: .3s;

    margin-bottom: 12px;
}


.book-now:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 30px rgba(8,119,255,.25);
}


.back-btn {

    display: block;

    text-align: center;

    text-decoration: none;

    color: #526173;

    background: #f5f7fa;

    border: 1px solid #e0e6ed;

    padding: 15px;

    border-radius: 13px;

    font-weight: 700;

    transition: .3s;
}


.back-btn:hover {

    color: #0877ff;

    border-color: #0877ff;
}


/* =====================================================
   BIG IMAGE - RIGHT
===================================================== */

.vehicle-image {

    height: 100%;

    min-height: 650px;

    border-radius: 28px;

    overflow: hidden;

    background: #e8edf3;

    box-shadow:
        0 25px 70px rgba(8, 25, 45, .12);

    position: relative;
}


.vehicle-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform .7s ease;
}


.vehicle-image:hover img {

    transform: scale(1.035);

}


.no-image {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #7d8b99;
}


/* =====================================================
   EXTRA SECTION
===================================================== */

.extra-section {

    background: #071426;

    color: white;

    padding: 85px 0;
}


.extra-container {

    width: min(1200px, 92%);

    margin: auto;
}


.extra-container > span {

    color: #58aaff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 3px;
}


.extra-container h2 {

    font-size: 42px;

    margin: 14px 0;

}


.extra-container > p {

    color: #a8b7c8;

    line-height: 1.7;

    margin-bottom: 40px;
}


.extra-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


.extra-grid > div {

    padding: 28px;

    border-radius: 18px;

    background: rgba(255,255,255,.04);

    border: 1px solid rgba(255,255,255,.08);
}


.extra-grid h3 {

    margin-bottom: 12px;

    font-size: 19px;
}


.extra-grid p {

    color: #9eafc1;

    line-height: 1.7;
}


/* =====================================================
   FOOTER
===================================================== */

footer {

    background: #04101e;

    color: white;

    text-align: center;

    padding: 45px 20px;
}


footer h2 {

    font-size: 28px;

    margin-bottom: 10px;
}


footer h2 span {

    color: #0877ff;
}


footer p {

    color: #8192a5;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 950px) {

    .nav-container nav {

        gap: 15px;
    }


    .details-container {

        grid-template-columns: 1fr;

    }


    .vehicle-image {

        min-height: 500px;

        order: -1;
    }


    .vehicle-content {

        min-height: auto;
    }


    .extra-grid {

        grid-template-columns: 1fr;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {

    .navbar {

        height: 70px;
    }


    .nav-container nav {

        display: none;
    }


    .book-btn {

        padding: 11px 15px;

        font-size: 13px;
    }


    .details-hero {

        height: 350px;
    }


    .hero-image {

        width: 300px;

        height: 270px;
    }


    .hero-track {

        gap: 12px;

        animation-duration: 25s;
    }


    .hero-title h1 {

        font-size: 42px;
    }


    .details-page {

        padding: 55px 0 70px;
    }


    .vehicle-content {

        padding: 28px 22px;

        border-radius: 20px;
    }


    .vehicle-content h1 {

        font-size: 36px;
    }


    .vehicle-image {

        min-height: 380px;

        border-radius: 20px;
    }


    .features {

        grid-template-columns: 1fr;
    }


    .price-section {

        flex-direction: column;
    }


    .extra-container h2 {

        font-size: 32px;
    }

}