/*================ couleurs et style générale du site ================*/
body{
    background-color: black;
}
p, li{
    color: white;
    text-align: center;
    margin: 10px;
}
li::marker{
    color: red;
}
h2, h3{
    color: rgb(255, 190, 70);
    font-family: "Faster One", system-ui;
    font-weight: 400;
    text-align: center;
}
h1, a{
    text-decoration: none;
    font-family: "Black Ops One", system-ui;
    font-weight: 400;
    font-style: normal;
    color: rgb(255, 190, 70);
    text-align: center;
}
a:hover{
    text-shadow: 0 0 15px rgb(255, 190, 70)
}
img:hover{
    transform: scale(1.05);
    box-shadow: 0 0 20px rgb(255, 190, 70)
}
main ul{
    list-style-position: inside;
}
/*============================== header ==============================*/
header{
    background-color: red;
    height: 84px;
    margin-bottom: 20px;
}
header ul{
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style-type: none;
    padding-block: 0px;
    margin: 0;
}
header li{
    background-color: rgb(255, 190, 70);
    border: 1px solid black;
    color: black;
    padding: 10px;
    margin: 20px 10px;
    border-radius: 5px;
}
header li:hover{
    transform: scale(1.05);
    box-shadow: 0 0 50px rgb(255, 190, 70);
}
header li:first-child{
    background-color: red;
    border: none;
    color: white;
    padding: 10px;
    margin: 20px 25px;
    border-radius: 5px;
    font-size: x-large;
}
header li:first-child:hover{
    transform: none;
    box-shadow: none;
}
header a{
    color: black;
    text-decoration: none;
}
header img {
    position: absolute;
    top: 2px;
    left: 2px;
    height: 80px;
    width: 80px;
    border-radius: 5px;
    transition: 0.3s;
}
/*================== section navigation avec images ==================*/
div ul, .supra-smokey-banner ul {
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0 0 0 0;
}
div ul li, .supra-smokey-banner ul li{
    list-style: none;
    width: 32%;
}
div ul li img, .supra-smokey-banner ul li img{
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    transition: 0.3s;
}

.comparatifnavimg ul li, .supra-smokey-banner ul li{
    width: 24%;
}

.stagenavimg ul li {
    width: 49%;
}
/*============================== main ==============================*/
.tunningtitle{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px;
}
.tunningtitle img{
    width: 25%;
    height: auto;
    object-fit: cover;
}
.tunningtitle img:hover{
    transform: none;
    box-shadow: none;
}
.tunningtitle h1, .hotrod h2{
    color: red;
    font-family: "Black Ops One";
    text-shadow:
        0 0 5px orangered,
        0 0 10px orange,
        0 0 20px yellow;
        font-size: 60px;
}

.starttunning {
    width:90%;
    margin:auto;
    margin-top:50px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.leftimg,.rightimg {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.leftimg img, .rightimg img{
    height: auto;
    object-fit: cover;
    margin: 10px;
}
.leftimg img:hover,.rightimg img:hover{
    transform: none;
    box-shadow: none;
}
.textestarttunning {
    max-width:  600px;
    text-align: center;
    line-height: 1.8;
    font-size: 18px;
}
.textestarttunning h2{
    margin: 15px 0 0 0;
    font-family:'Cinzel', serif;
    font-size:48px;
    letter-spacing:3px;
    color:#5b3924;
    -webkit-text-stroke:1px #d4af37;
}
.textestarttunning p{
    margin: 0;
}

.hotrod h2{
    font-size: 30px;
}
.hotrodcarrousel {
    position: relative;
    width: 40%;
    aspect-ratio: 16 / 9; 
    overflow: hidden;
    margin: auto;
}
.hotrodcarrousel img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.hotrodcarrousel img.active {
    opacity: 1;
}
.hotrodcarrousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    background: transparent;
    color: white;
    border: none;

    padding: 10px 15px;
    cursor: pointer;
    font-size: 35px;

    z-index: 10;
}
.hotrodcarrousel .prev {
    left: 5px;
}
.hotrodcarrousel .next {
    right: 5px;
}
.hotrod img:hover{
    transform: none;
    box-shadow: none;
}
button:hover{
    text-shadow: 0 0 10px rgb(255, 190, 70)
}

.japantunningtitle{
    background: linear-gradient(
    90deg,
    white,
    white,
    white,
    white,
    red,
    white,
    white,
    white,
    white
    );
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Black Ops One";
    font-size: 60px;
}

.supratitle{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px;
}
.supratitle img{
    width: 25%;
    height: auto;
    object-fit: cover;
}
.supratitle img:hover{
    transform: none;
    box-shadow: none;
}
.supratitle h3{
    background: linear-gradient(
    90deg,
    #ff3c00,
    #ffb347,
    #ffd700,
    #fff1a8
    );
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Black Ops One";
    font-size: 60px;
}

.skylinetitle{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px;
}
.skylinetitle img{
    width: 25%;
    height: auto;
    object-fit: cover;
}
.skylinetitle img:hover{
    transform: none;
    box-shadow: none;
}
.skylinetitle h3{
    background: linear-gradient(
    90deg,
    #1b8a7a,
    #00ffcc,
    #00e5ff,
    #0096ff
    );
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Black Ops One";
    font-size: 60px;
}

.rxtitle{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px;
}
.rxtitle img{
    width: 25%;
    height: auto;
    object-fit: cover;
}
.rxtitle img:hover{
    transform: none;
    box-shadow: none;
}
.rxtitle h3{
    background: linear-gradient(
    90deg,
    #145a32,
    #1e8449,
    #d68910,
    #ff6f00
    );
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Black Ops One";
    font-size: 60px;
}

main nav{
    padding: 10px;
}
main nav a{
    background: linear-gradient(45deg, #ff5e00, #ff2a00);
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}
main nav a:hover, main nav li:hover{
    box-shadow: 0 0 15px rgb(255, 190, 70);
}
main nav ul{
    display: flex;
    justify-content: space-between;
    padding: 0;
}
main nav li{
    list-style: none;
}
.indexmainnav ul{
    justify-content: end;
}

.warningstage{
    background-color: red;
    margin: 40px;
    padding: 15px;
    border-radius: 25px;
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
    box-shadow:
        0 0 5px orangered,
        0 0 10px orange,
        0 0 20px yellow;
}
.warningstage h2{
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center; 
    margin: 0;
    font-size: xx-large;
}
.warningstage ul {
    flex-direction: column;
    text-align: center;
    align-items: center;
}
.warningstage li{
    margin: 10px;
    font-size: larger;
}
/*============================== Image auteur + Smokey ==============================*/

.mainauteur img, .mainsmokey img{
    width: 350px;
    display: flex;
    justify-self: center;
    border-radius: 30px;
}
.mainauteur img:hover, .mainsmokey img:hover{
    transform: none;
    box-shadow: none;
}

/*============================== tableau comparaison ==============================*/
table {
    margin-top: 2%;
    margin-bottom: 2%;
    width: 100%;
    border-collapse: collapse;
    background: rgba(15, 15, 15, 0.95);
    color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(255, 190, 70, 0.15),
        0 0 40px rgba(255, 190, 70, 0.05);
    font-family: Arial, sans-serif;
}
th {
    background: linear-gradient(to right, #1a1a1a, #2b2b2b);
    color: rgb(255, 190, 70);
    padding: 18px;
    text-transform: uppercase;
    font-size: 15px;
    text-shadow: 0 0 10px rgba(255, 190, 70, 0.7);
}
td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
tr:nth-child(even) {
    background: rgba(255,255,255,0.03);
}
tr:hover {
    background: rgba(255, 190, 70, 0.08);
    box-shadow: inset 0 0 20px rgba(255, 190, 70, 0.15);
    transition: 0.3s;
}
/*============================== footer ==============================*/
footer{
    background-color: red;
    text-align: center;
    padding: 10px;
}
footer nav ul{
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
}
footer li{
    margin: 0 20px 10px 20px;
    font-size: large;
}
footer a {
    text-decoration: underline;
}
footer p {
    font-size: small;
}
/*============================== mise en page footer ==============================*/

html, body {
  height: 100%;
  margin: 0;
}
body {
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}

/*============================== FORMULAIRE CONTACT ==============================*/
form{
    width:70%;
    max-width:850px;
    margin:60px auto;
    padding:40px;
    background:
        linear-gradient(
            145deg,
            rgba(20,20,20,0.95),
            rgba(8,8,8,0.98)
        );
    border:2px solid rgba(255,190,70,0.15);
    border-radius:25px;
    box-shadow:
        0 0 20px rgba(255,190,70,0.08),
        0 0 40px rgba(255,80,0,0.12);
    display:flex;
    flex-direction:column;
    gap:18px;
}

/*============================== LABELS ==============================*/
form label{
    color:rgb(255, 190, 70);
    font-family:"Black Ops One", system-ui;
    letter-spacing:1px;
    font-size:0.95rem;
}
.obligation{
    color:red;
}

/*============================== INPUTS ==============================*/
form input[type="text"], form input[type="number"],form input[type="email"], form input[type="tel"], form textarea{
    width:100%;
    padding:14px;
    background:#111;
    color:white;
    border:2px solid #2a2a2a;
    border-radius:12px;
    outline:none;
    transition:
        border 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}
form textarea{
    resize:vertical;
    min-height:140px;
}

/*============================== FOCUS ==============================*/
form input:focus, form textarea:focus{
    border-color:rgb(255, 190, 70);
    background:#1a1a1a;
    box-shadow:
        0 0 10px rgba(255,190,70,0.3),
        0 0 20px rgba(255,120,0,0.15);
}

/*============================== CHECKBOX ==============================*/
form input[type="checkbox"]{
    accent-color:red;
    transform:scale(1.2);
    margin-right:5px;
    cursor:pointer;
}

/*============================== BOUTON ==============================*/
form input[type="submit"]{
    margin-top:15px;
    padding:15px;
    border:none;
    border-radius:12px;
    background:
        linear-gradient(
            45deg,
            #ff2a00,
            #ff7b00
        );
    color:white;
    font-family:"Black Ops One", system-ui;
    font-size:1rem;
    cursor:pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
form input[type="submit"]:hover{
    transform:
        translateY(-2px)
        scale(1.02);

    box-shadow:
        0 0 15px rgba(255,190,70,0.35),
        0 0 30px rgba(255,80,0,0.2);
}

/*==================================================
=================== TABLETTE =======================
===================================================*/

@media screen and (max-width: 1024px){

    *{
        box-sizing: border-box;
    }

    html,
    body{
        width: 100%;
        overflow-x: hidden;
    }

    /*================ HEADER =================*/

    header{
        width: 100%;
        min-height: 84px;
        height: auto;

        padding: 10px 0;
    }

    header ul{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;

        gap: 10px;

        width: 100%;

        padding: 0 10px;
        margin: 0;
    }

    header li{
        margin: 0;
        padding: 8px 14px;

        font-size: 16px;
    }

    header li:first-child{
        font-size: 24px;
        margin: 0;
        padding: 0 10px;
    }

    header a{
        font-size: 16px;
    }

    header img{
        position: absolute;

        top: 5px;
        left: 5px;

        width: 70px;
        height: 70px;
    }

    /*================ TITRES ENTRE IMAGES =================*/

    .tunningtitle,
    .supratitle,
    .skylinetitle,
    .rxtitle{
        display: flex;
        flex-direction: row;

        justify-content: space-evenly;
        align-items: center;

        gap: 20px;

        width: 100%;

        padding: 20px;
    }

    .tunningtitle img,
    .supratitle img,
    .skylinetitle img,
    .rxtitle img{
        width: 25%;
        max-width: 220px;

        height: auto;

        object-fit: cover;
    }

    .tunningtitle h1,
    .supratitle h3,
    .skylinetitle h3,
    .rxtitle h3,
    .japantunningtitle{
        font-size: 42px;

        text-align: center;

        flex: 1;
    }

    /*================ DEBUT DU TUNING =================*/

    .starttunning{
        width: 95%;

        display: grid;
        grid-template-columns: 1fr 1.4fr 1fr;

        align-items: center;

        gap: 20px;

        margin: 50px auto;
    }

    .leftimg,
    .rightimg{
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 20px;
    }

    .leftimg img,
    .rightimg img{
        width: 100%;
        height: auto;

        object-fit: cover;
    }

    .textestarttunning{
        width: 100%;

        text-align: center;
    }

    .textestarttunning h2{
        font-size: 38px;
    }

    .textestarttunning p{
        font-size: 17px;
        line-height: 1.8;
    }

    /*================ CARROUSEL =================*/

    .hotrodcarrousel{
        width: 80%;
    }

    /*================ NAV IMAGES =================*/

    div ul,
    .supra-smokey-banner ul,
    .comparatifnavimg ul,
    .stagenavimg ul{
        display: grid;

        gap: 10px;

        width: 100%;

        padding: 0;
        margin: 0;

        list-style: none;
    }

    /* 2 images */
    .stagenavimg ul{
        grid-template-columns: repeat(2, 1fr);
    }

    /* 3 images */
    div ul{
        grid-template-columns: repeat(3, 1fr);
    }

    /* 4 images */
    .comparatifnavimg ul,
    .supra-smokey-banner ul{
        grid-template-columns: repeat(4, 1fr);
    }

    div ul li,
    .supra-smokey-banner ul li,
    .comparatifnavimg ul li,
    .stagenavimg ul li{
        width: 100%;
    }

    div ul li img,
    .supra-smokey-banner ul li img,
    .comparatifnavimg ul li img,
    .stagenavimg ul li img{
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;

        border-radius: 10px;
    }

    /*================ TABLE =================*/

    table{
        width: 100%;

        display: block;
        overflow-x: auto;

        font-size: 14px;
    }

    /*================ FORM =================*/

    form{
        width: 90%;
        padding: 25px;
    }

    /*================ FOOTER =================*/

    footer{
        width: 100%;
        padding: 15px 10px;
    }

    footer nav ul{
        display: flex;
        justify-content: center;
        align-items: center;

        flex-wrap: wrap;

        gap: 15px;

        width: 100%;

        padding: 0;
        margin: 0;

        list-style: none;
    }

    footer li{
        margin: 0;
        font-size: 14px;
    }

    footer a{
        font-size: 14px;
    }

    footer p{
        margin-top: 10px;
        font-size: 12px;
    }

}


/*==================================================
==================== MOBILE ========================
===================================================*/

@media screen and (max-width: 768px){

    p,
    li{
        font-size: 15px;
    }

    /*================ HEADER =================*/

    header{
        width: 100%;
        min-height: 84px;
        height: auto;

        padding: 10px 0;
    }

    header ul{
        display: flex;
        justify-content: center;
        align-items: center;

        gap: 8px;

        width: 100%;

        padding: 0 10px 0 70px;
        margin: 0;
    }

    header li{
        margin: 0;
        padding: 6px 10px;

        font-size: 13px;
    }

    header li:first-child{
        font-size: 18px;
        padding: 0 5px;
    }

    header a{
        font-size: 13px;
    }

    header img{
        position: absolute;

        top: 5px;
        left: 5px;

        width: 55px;
        height: 55px;
    }

    /*================ TITRES ENTRE IMAGES =================*/

    .tunningtitle,
    .supratitle,
    .skylinetitle,
    .rxtitle{
        display: flex;
        flex-direction: row;

        justify-content: center;
        align-items: center;

        gap: 10px;

        width: 100%;

        padding: 15px 10px;
    }

    .tunningtitle img,
    .supratitle img,
    .skylinetitle img,
    .rxtitle img{
        width: 22%;
        max-width: 120px;

        height: auto;
    }

    .tunningtitle h1,
    .supratitle h3,
    .skylinetitle h3,
    .rxtitle h3,
    .japantunningtitle{
        font-size: clamp(18px, 4vw, 30px);

        text-align: center;

        line-height: 1.1;

        flex: 1;
    }

    /*================ DEBUT DU TUNING =================*/

    .starttunning{
        width: 95%;

        display: grid;
        grid-template-columns: 1fr 1.5fr 1fr;

        align-items: center;

        gap: 10px;

        margin: 30px auto;
    }

    .leftimg,
    .rightimg{
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 10px;
    }

    .leftimg img,
    .rightimg img{
        width: 100%;
        height: auto;

        object-fit: cover;
    }

    .textestarttunning{
        width: 100%;

        text-align: center;
    }

    .textestarttunning h2{
        font-size: 24px;
        line-height: 1.2;
    }

    .textestarttunning p{
        font-size: 13px;
        line-height: 1.6;
    }

    /*================ AUTEUR =================*/

    .mainauteur img,
    .mainsmokey img{
        width: 90%;
    }

    /*================ CARROUSEL =================*/

    .hotrodcarrousel{
        width: 95%;
    }

    .hotrodcarrousel button{
        font-size: 25px;
    }

    /*================ NAV =================*/

    main nav ul{
        display: flex;
        flex-direction: column;

        align-items: center;

        gap: 15px;
    }

    /*================ WARNING =================*/

    .warningstage{
        margin: 20px 10px;
        padding: 15px;
    }

    .warningstage h2{
        font-size: 24px;
    }

    .warningstage li{
        font-size: 16px;
    }

    /*================ TABLE =================*/

    th,
    td{
        padding: 10px;
        font-size: 13px;
    }

    /*================ FORM =================*/

    form{
        width: 95%;
        padding: 20px;
    }

    form input,
    form textarea{
        font-size: 16px;
    }

    /*================ FOOTER =================*/

    footer{
        width: 100%;
        padding: 15px 10px;
    }

    footer nav ul{
        display: flex;
        justify-content: center;
        align-items: center;

        flex-wrap: wrap;

        gap: 10px;
    }

    footer li{
        margin: 0;
        font-size: 12px;
    }

    footer a{
        font-size: 12px;
    }

    footer p{
        font-size: 10px;
    }

}

