/* =========================================================
   WESTCOAST AUTOMOTIVE
   STYLE PRINCIPAL
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #050505;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
}


/* =========================================================
   HEADER
========================================================= */

header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 80px;

    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(5, 5, 5, 0.88);

    border-bottom: 1px solid rgba(255, 30, 30, 0.20);

    backdrop-filter: blur(18px);

    z-index: 1000;
}


/* LOGO */

.logo {
    color: #ffffff;

    text-decoration: none;

    font-size: 24px;
    font-weight: 900;

    letter-spacing: 4px;

    transition: 0.3s ease;
}

.logo:hover {
    color: #ff2020;
}


/* NAVIGATION */

nav {
    display: flex;
    align-items: center;

    gap: 32px;
}

nav a {
    position: relative;

    color: #999999;

    text-decoration: none;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 1.5px;

    transition: 0.3s ease;
}

nav a:hover {
    color: #ffffff;
}


/* Petite ligne rouge sous le menu */

nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: #e50909;

    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}


/* BOUTON MON ESPACE */

.account-button {
    padding: 12px 20px;

    border: none;

    background: #e50909;

    color: #ffffff;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 0.5px;

    cursor: pointer;

    transition: 0.3s ease;
}

.account-button:hover {
    background: #ff2929;

    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(229, 9, 9, 0.20);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding:
        130px 8% 80px;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(220, 0, 0, 0.22),
            transparent 32%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(255, 0, 0, 0.08),
            transparent 30%
        ),
        linear-gradient(
            90deg,
            #050505 15%,
            #070707 55%,
            #050505 100%
        );

    position: relative;

    overflow: hidden;
}


/* Ligne décorative */

.hero::before {
    content: "";

    position: absolute;

    top: 0;
    right: 8%;

    width: 1px;
    height: 100%;

    background:
        linear-gradient(
            transparent,
            rgba(255, 30, 30, 0.25),
            transparent
        );
}


/* CONTENU */

.hero-content {
    position: relative;

    max-width: 760px;

    z-index: 2;
}


/* PETIT TITRE */

.hero-label {
    margin-bottom: 22px;

    color: #e50909;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 5px;
}


/* GRAND TITRE */

.hero h1 {
    color: #ffffff;

    font-size: clamp(72px, 10vw, 145px);

    line-height: 0.84;

    letter-spacing: -6px;

    font-weight: 900;
}

.hero h1 span {
    color: #e50909;

    text-shadow:
        0 0 35px rgba(229, 9, 9, 0.40);
}


/* DESCRIPTION */

.hero-description {
    max-width: 570px;

    margin-top: 38px;

    color: #8d8d8d;

    font-size: 16px;

    line-height: 1.8;
}


/* BOUTONS HERO */

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-top: 38px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 25px;

    text-decoration: none;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.3s ease;
}


/* BOUTON ROUGE */

.primary-button {
    border: 1px solid #e50909;

    background: #e50909;

    color: #ffffff;
}

.primary-button:hover {
    background: #ff2929;

    border-color: #ff2929;

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(229, 9, 9, 0.20);
}


/* BOUTON TRANSPARENT */

.secondary-button {
    border: 1px solid #333333;

    background: transparent;

    color: #aaaaaa;
}

.secondary-button:hover {
    color: #ffffff;

    border-color: #e50909;

    background: rgba(229, 9, 9, 0.08);

    transform: translateY(-3px);
}


/* =========================================================
   SECTION VÉHICULES
========================================================= */

.vehicles-section {
    padding:
        120px 6%;

    background: #080808;
}


/* TITRE SECTION */

.section-heading {
    max-width: 1100px;

    margin:
        0 auto 55px;
}

.section-heading p {
    margin-bottom: 10px;

    color: #e50909;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 4px;
}

.section-heading h2 {
    color: #ffffff;

    font-size: 44px;

    font-weight: 900;

    letter-spacing: -1px;
}

.section-heading span {
    display: block;

    max-width: 600px;

    margin-top: 15px;

    color: #777777;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   GRILLE
========================================================= */

.vehicle-grid {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* LIEN AUTOUR DES CARTES */

.vehicle-link {
    display: block;

    min-width: 0;

    color: inherit;

    text-decoration: none;
}


/* =========================================================
   CARTE VÉHICULE
========================================================= */

.vehicle-card {
    position: relative;

    width: 100%;
    height: 430px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #111111;

    border: 1px solid #222222;

    border-radius: 8px;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.vehicle-card:hover {
    transform: translateY(-10px);

    border-color: #e50909;

    box-shadow:
        0 20px 55px rgba(229, 9, 9, 0.16);
}


/* =========================================================
   IMAGE CARTE
========================================================= */

.vehicle-image {
    position: relative;

    width: 100%;
    height: 245px;

    flex: 0 0 245px;

    overflow: hidden;

    background: #050505;
}

.vehicle-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.55s ease,
        filter 0.55s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.06);

    filter: brightness(1.08);
}


/* =========================================================
   BADGE
========================================================= */

.vehicle-image span {
    position: absolute;

    top: 15px;
    right: 15px;

    padding: 7px 12px;

    background: #e50909;

    color: #ffffff;

    font-size: 10px;
    font-weight: bold;

    letter-spacing: 1.5px;

    border-radius: 2px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.vehicle-card:hover .vehicle-image span {
    transform: translateY(-3px);

    background: #ff2929;
}


/* =========================================================
   INFORMATIONS
========================================================= */

.vehicle-info {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 25px;

    background: #111111;
}


/* NOM */

.vehicle-info h3 {
    color: #ffffff;

    font-size: 21px;
    font-weight: 900;

    letter-spacing: 0.5px;

    transition: color 0.3s ease;
}

.vehicle-card:hover .vehicle-info h3 {
    color: #ff2929;
}


/* CATÉGORIE */

.vehicle-info p {
    margin-top: 8px;

    color: #777777;

    font-size: 13px;
}


/* PRIX */

.vehicle-info strong {
    color: #e50909;

    font-size: 22px;
    font-weight: 900;

    transition:
        transform 0.3s ease,
        text-shadow 0.3s ease;
}

.vehicle-card:hover .vehicle-info strong {
    transform: translateX(4px);

    text-shadow:
        0 0 15px rgba(229, 9, 9, 0.45);
}


/* =========================================================
   SECTIONS INFORMATIONS
========================================================= */

.info-section {
    min-height: 55vh;

    padding:
        120px 8%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-top: 1px solid #151515;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(229, 9, 9, 0.08),
            transparent 35%
        ),
        #070707;
}

.section-label {
    margin-bottom: 12px;

    color: #e50909;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 4px;
}

.info-section h2 {
    color: #ffffff;

    font-size: clamp(40px, 6vw, 75px);

    font-weight: 900;

    letter-spacing: -3px;
}

.info-section > p:not(.section-label) {
    max-width: 600px;

    margin-top: 20px;

    color: #888888;

    font-size: 15px;

    line-height: 1.8;
}

.contact-section .primary-button {
    width: fit-content;

    margin-top: 30px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding:
        45px 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid #1a1a1a;

    background: #030303;
}

.footer-logo {
    color: #ffffff;

    font-size: 18px;
    font-weight: 900;

    letter-spacing: 3px;
}

footer p {
    color: #555555;

    font-size: 10px;
    font-weight: bold;

    letter-spacing: 1px;
}

footer span {
    color: #444444;

    font-size: 10px;
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 1000px) {

    nav {
        gap: 18px;
    }

    .vehicle-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .hero {
        padding-left: 7%;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    header {
        height: 70px;

        padding: 0 5%;
    }

    .logo {
        font-size: 19px;

        letter-spacing: 3px;
    }

    nav {
        display: none;
    }

    .account-button {
        padding: 10px 14px;

        font-size: 10px;
    }


    /* HERO */

    .hero {
        min-height: 100vh;

        padding:
            110px 6% 70px;
    }

    .hero h1 {
        font-size: 65px;

        letter-spacing: -4px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;

        max-width: 260px;
    }


    /* VÉHICULES */

    .vehicles-section {
        padding:
            85px 6%;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .vehicle-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .vehicle-card {
        height: 420px;
    }


    /* SECTIONS */

    .info-section {
        min-height: 60vh;

        padding:
            90px 6%;
    }


    /* FOOTER */

    footer {
        flex-direction: column;

        align-items: flex-start;
    }

}/* =========================================================
   FICHE VÉHICULE — VERSION SHOWROOM PREMIUM
========================================================= */

.vehicle-detail {
    min-height: 100vh;

    padding: 120px 6% 60px;

    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(380px, 0.6fr);

    gap: 35px;

    align-items: stretch;

    background:
        radial-gradient(
            circle at 30% 50%,
            rgba(229, 9, 9, 0.12),
            transparent 35%
        ),
        #050505;
}


/* =========================================================
   GRANDE IMAGE
========================================================= */

.vehicle-detail-image {
    position: relative;

    min-height: 650px;

    overflow: hidden;

    border: 1px solid #252525;

    background: #090909;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55);
}

.vehicle-detail-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(0, 0, 0, 0.65) 100%
        );

    pointer-events: none;
}

.vehicle-detail-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition: transform 0.8s ease;
}

.vehicle-detail-image:hover img {
    transform: scale(1.025);
}


/* =========================================================
   BADGE
========================================================= */

.detail-badge {
    position: absolute;

    top: 25px;
    left: 25px;

    z-index: 5;

    padding: 9px 14px;

    background: #e50909;

    color: #ffffff;

    font-size: 10px;
    font-weight: bold;

    letter-spacing: 2px;

    box-shadow:
        0 8px 25px rgba(229, 9, 9, 0.25);
}


/* =========================================================
   PANNEAU INFORMATIONS
========================================================= */

.vehicle-detail-info {
    position: relative;

    padding: 45px 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border: 1px solid #202020;

    background:
        linear-gradient(
            145deg,
            #111111,
            #090909
        );

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35);
}


/* petite ligne rouge décorative */

.vehicle-detail-info::before {
    content: "";

    position: absolute;

    top: 0;
    left: 40px;

    width: 60px;
    height: 3px;

    background: #e50909;
}


/* =========================================================
   SOUS-TITRE
========================================================= */

.detail-subtitle {
    margin-bottom: 15px;

    color: #e50909;

    font-size: 10px;
    font-weight: bold;

    letter-spacing: 4px;
}


/* =========================================================
   NOM
========================================================= */

.vehicle-detail-info h1 {
    color: #ffffff;

    font-size: clamp(42px, 4vw, 70px);

    line-height: 0.9;

    font-weight: 900;

    letter-spacing: -3px;
}

.vehicle-detail-info h1 span {
    display: block;

    color: #e50909;

    text-shadow:
        0 0 30px rgba(229, 9, 9, 0.3);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.detail-description {
    max-width: 480px;

    margin-top: 25px;

    color: #777777;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   PRIX
========================================================= */

.detail-price {
    margin-top: 30px;

    padding:
        20px 0;

    border-top: 1px solid #222222;
    border-bottom: 1px solid #222222;
}

.detail-price small {
    display: block;

    margin-bottom: 6px;

    color: #555555;

    font-size: 9px;
    font-weight: bold;

    letter-spacing: 2px;
}

.detail-price strong {
    color: #ffffff;

    font-size: 30px;
    font-weight: 900;
}

.detail-price strong::first-letter {
    color: #e50909;
}


/* =========================================================
   CARACTÉRISTIQUES
========================================================= */

.vehicle-specs {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 1px;

    margin-top: 25px;

    border: 1px solid #202020;

    background: #202020;
}

.spec {
    min-height: 78px;

    padding: 15px;

    background: #0d0d0d;
}

.spec small {
    display: block;

    margin-bottom: 7px;

    color: #555555;

    font-size: 9px;
    font-weight: bold;

    letter-spacing: 1.5px;
}

.spec strong {
    color: #ffffff;

    font-size: 11px;

    letter-spacing: 0.5px;
}


/* =========================================================
   BOUTONS
========================================================= */

.detail-buttons {
    display: grid;

    grid-template-columns: 1fr;

    gap: 10px;

    margin-top: 25px;
}

.buy-button {
    min-height: 50px;

    border: none;

    background: #e50909;

    color: #ffffff;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.3s ease;
}

.buy-button:hover {
    background: #ff2929;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(229, 9, 9, 0.2);
}

.back-button {
    min-height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #2d2d2d;

    color: #777777;

    text-decoration: none;

    font-size: 10px;
    font-weight: bold;

    letter-spacing: 1px;

    transition: 0.3s ease;
}

.back-button:hover {
    color: #ffffff;

    border-color: #e50909;

    background: rgba(229, 9, 9, 0.06);
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 1000px) {

    .vehicle-detail {
        grid-template-columns: 1fr;

        padding:
            110px 6% 50px;
    }

    .vehicle-detail-image {
        min-height: 500px;
    }

    .vehicle-detail-info {
        min-height: auto;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .vehicle-detail {
        padding:
            95px 5% 40px;

        gap: 20px;
    }

    .vehicle-detail-image {
        min-height: 330px;
    }

    .vehicle-detail-info {
        padding: 35px 25px;
    }

    .vehicle-detail-info::before {
        left: 25px;
    }

    .vehicle-detail-info h1 {
        font-size: 45px;
    }

    .vehicle-specs {
        grid-template-columns: 1fr;
    }

}