/* ============================================================
   GLOBAL
============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #0A0A0A;
    color: #FFF;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

section {
    padding: 80px 70px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}


/* ============================================================
   NAVBAR
============================================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 22px 70px;
    background: rgba(10,10,10,0.55);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo {
    font-size: 32px;
    color: #D4A373;
    font-weight: 700;
}

.nav-center ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-center a {
    color: #fff;
    opacity: .85;
    text-decoration: none;
    font-size: 18px;
    transition: .3s;
}

.nav-center a:hover {
    color: #D4A373;
}

.btn-book {
    padding: 10px 22px;
    background: #D4A373;
    color: #000;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.burger {
    display: none;
    font-size: 32px;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 70%;
    height: 100vh;
    background: #111;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: .4s;
    z-index: 100;
}

.mobile-menu.open {
    right: 0;
}

.close-btn {
    align-self: flex-end;
    font-size: 42px;
    margin-bottom: 20px;
    cursor: pointer;
}


/* ============================================================
   CAR HERO SECTION
============================================================ */
.car-hero {
    padding-top: 150px;
    display: flex;
    gap: 60px;
    align-items: center;
}

.car-hero-left {
    width: 50%;
}

.car-hero-left h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 20px;
    opacity: .8;
    margin-bottom: 35px;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 25px;
}

.price {
    font-size: 28px;
}

.price span {
    font-size: 34px;
    color: #D4A373;
}

.book-btn {
    padding: 14px 30px;
    background: #D4A373;
    color: #000;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

/* =======================
   GALLERY WITHOUT BUTTONS
======================= */

.car-hero-gallery-wrapper {
    position: relative;
    width: 50%;
    height: 380px;
    overflow: hidden;
    border-radius: 18px;
}

.car-hero-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

.car-hero-gallery img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .5s ease;
}

.car-hero-gallery img.active {
    opacity: 1;
}

/* DOTS */
.gallery-dots {
    position: absolute;
    bottom: 14px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: .3s;
}

.dot.active {
    background: #D4A373;
    transform: scale(1.2);
}

/* MOBILE */
@media (max-width: 900px) {
    .car-hero-gallery-wrapper {
        width: 100%;
        height: 260px;
    }
}


/* ============================================================
   FEATURES
============================================================ */
.car-features h2 {
    font-size: 40px;
    margin-bottom: 35px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
}

.feature-card {
    background: #111;
    padding: 30px;
    border-radius: 18px;
    border: 1px solid #2a2a2a;
    transition: .3s;
}

.feature-card:hover {
    border-color: #D4A373;
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 22px;
    color: #D4A373;
    margin-bottom: 10px;
}

.feature-card p {
    opacity: .8;
    line-height: 1.5;
}


/* ============================================================
   TABS — ОПИСАНИЕ / ХАРАКТЕРИСТИКИ
============================================================ */
.tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.tab {
    padding: 12px 26px;
    border-radius: 10px;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

.tab.active {
    background: #D4A373;
    color: #000;
    border-color: #D4A373;
}

.tab-content {
    display: none;
    background: #111;
    padding: 30px;
    border-radius: 18px;
    border: 1px solid #2a2a2a;
    line-height: 1.6;
}

.tab-content.active {
    display: block;
}

.tab-content ul {
    list-style: none;
}

.tab-content li {
    font-size: 18px;
    margin-bottom: 10px;
}

.tab-content li span {
    color: #D4A373;
    font-weight: 600;
}


/* ============================================================
   NOTES
============================================================ */
.notes h2 {
    font-size: 34px;
    margin-bottom: 20px;
}

.notes ul {
    list-style: none;
}

.notes li {
    font-size: 20px;
    opacity: .85;
    margin-bottom: 10px;
}


/* ============================================================
   SIMILAR CARS
============================================================ */
.similar h2 {
    font-size: 34px;
    margin-bottom: 25px;
}

.similar-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.similar-card {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 18px;
    overflow: hidden;
    transition: .3s;
    text-decoration: none;
    color: #fff;
}

.similar-card:hover {
    transform: translateY(-5px);
    border-color: #D4A373;
}

.similar-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.similar-card div {
    padding: 14px;
    font-size: 18px;
}


/* ============================================================
   FOOTER
============================================================ */
.footer {
    background: #0c0c0c;
    padding: 60px 70px;
    text-align: center;
    border-top: 1px solid #2a2a2a;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 17px;
    transition: .3s;
}

.footer-links a:hover {
    color: #D4A373;
}

.footer p {
    opacity: .6;
}


/* ============================================================
   MOBILE ADAPTATION
============================================================ */
@media (max-width: 900px) {

    section {
        padding: 50px 20px;
    }

    .nav-center, .btn-book {
        display: none;
    }

    .burger {
        display: block;
    }

    /* HERO */
    .car-hero {
        flex-direction: column;
        padding-top: 130px;
    }

    .car-hero-left, 
    .car-hero-gallery {
        width: 100%;
    }

    .car-hero-gallery {
        height: 260px;
    }

    .car-hero-left h1 {
        font-size: 34px;
    }

    .price-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    /* FEATURES */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* SIMILAR */
    .similar-grid {
        grid-template-columns: 1fr;
    }
}
