
* {
    margin: auto;
    padding: 0;
    box-sizing: border-box;
}


body {
    width: 1080px;
    background-color: rgb(0, 0, 0);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
}

.site-header {
    background-color: #a52020;
    height: 80px;
    margin: 15px;
    padding: 10px 20px;

    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}


.menu {
    background-color: rgb(0, 0, 0);
    padding: 10px 20px;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 50px;
}

.menu a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
}


.hero {
    position: relative;
    height: 70vh;
    margin: 0 15px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}


.hero-text {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: rgb(255, 255, 255);
}

.hero-text h1 {
    font-size: 72px;
    letter-spacing: 4px;
}

.hero-text p {
    font-size: 24px;
    margin-top: 40px;
}


.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.hero-stats div {
    text-align: center;
}

.hero-stats span {
    font-size: 48px;
    font-weight: bold;
    display: block;
}

.hero-stats small {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}


main {
    background-color: #a52020;
    margin: 15px;
    padding: 20px;
    flex: 1;
    color: rgb(255, 255, 255);
    font-size: 20px;
}


.site-footer {
    background-color: #000000;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 15px;
    margin: 15px;
    font-size: 25px;
}


.gallery {
    max-width: 1500px;
    margin: 50px auto;
    padding: 90 20px;
}


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


.gallery-grid img {
    width: 90%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
    background-color: #000000;

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        filter 0.35s ease;

    cursor: pointer;
}


.gallery-grid img:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.85);
    filter: brightness(1.08);
}


@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 220px;
    }
}


.contact {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.contact h1 {
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-top: 15px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    padding: 8px;
    margin-top: 5px;
    font-size: 16px;
}

.contact-form button {
    margin-top: 20px;
    padding: 10px;
    background-color: #00529F; 
    color: white;
    border: none;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #003b73;
}



.contact-cars {
    position: fixed;
    inset: 0;
    pointer-events: none; 
    z-index: 1;
}


.car {
    position: absolute;
    width: 350px;
    max-width: 30vw;
    opacity: 0.95;
}


.car-left {
    left: 40px;
    bottom: 180px;
}


.car-right {
    right: 40px;
    bottom: 180px;
}


.contact {
    position: relative;
    z-index: 2;
}


@media (max-width: 900px) {
    .car {
        display: none;
    }
}

.car {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}


.home-hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.home-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero::before {
    display: none;
}



.home-hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: #ffffff;
}

.home-hero-content h1 {
    font-size: 100px;
    letter-spacing: 5px;
    margin-top: 30px;
}

.home-hero-content p {
    font-size: 22px;
    opacity: 0.9;
    margin-bottom: 50px;
}


.home-content {
    background-color: #a52020;
    padding: 150px 10%;
    color: white;
}

.home-text {
    text-align: center;
    margin-bottom: 100px;
}

.home-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
}


.home-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.home-card {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
}

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

.home-card h3 {
    padding: 15px;
    font-size: 20px;
}



.partenaire {
    max-width: 1100px;
    margin: 0 auto;          
    padding: 40px 20px;      
    background-color: rgb #a52020; 
    border-radius: 20px;
}


.partners {
    padding: 40px 0;
    background-color: rgb(0, 0, 0);
    border-radius: 20px;
}

.partners h1 {
    text-align: center;
    margin-bottom: 40px;
    color: black;
}

.partners-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.partner-card {
    background-color: #a52020;
    color: black;
    width: 200px;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.partner-card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 20;
}

.partner-card h2 {
    font-size: 18px;
    margin: 10px 0;
}

.partner-card h3 {
    font-size: 14px;
    font-weight: normal;
    color: black;
}

.partner-card a {
    display: inline-block;
    margin-top: 15px;
    color: white;
    background-color: #000000;
    padding: 8px 14px;
    text-decoration: none;
    border-radius: 4px;
}

main > .partner-card {
    width: 30%;
    margin: 30px auto;
    text-align: center;
}

main > .partner-card a {
    background-color: transparent;
    color: #ffffff;
    display: block;
    margin-top: 10px;
    padding: 0;
}



.pneu-container {
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 1000;
}

.pneu-rotatif {
    width: 120px;
    height: 80px;
    animation: rotation 2s linear infinite;
}


@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}




