/* Global Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
}

main {
    margin-bottom: 50px;
}

.ficheDest {
    width: 80%;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    margin: 100px auto;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.photos {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.photoPrincipale {
    width: 100%;
    height: 40vw;
    max-height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.petitesPhotos {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    gap: 10px;
}

.petite {
    flex: 1;
    height: 80px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    transition: filter 0.3s;
}

.petite:hover {
    filter: brightness(1.1);
    cursor: pointer;
}

.texte {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    justify-content: center;
}

.nomGOT {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 10px;
    color: #222;
}

.vraiNom {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #666;
    text-align: right;
}

.descrLong {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.reservation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.reservation {
    display: flex;
    justify-content: center;   /* Centre horizontalement les éléments */
    align-items: center;       /* Centre verticalement les éléments */
    flex-direction: column;    /* Optionnel : si vous souhaitez disposer les éléments en colonne */
    margin-top: 20px;
}

.prixContainer {
    display: flex;
    align-items: center;
    justify-content: center;   /* Centre les éléments à l'intérieur de .prixContainer */
    width: 100%;               /* Optionnel : pour s'assurer que le conteneur prend toute la largeur disponible */
}


.prix {
    font-size: 1.5rem;
    color: #222;
    margin-right: 10px;
}

.regular {
    font-weight: 400;
}

.avion {
    width: 24px;
    height: 24px;
    transform: rotate(51.58deg);
}

.boutonReserve {
    font-size: 1rem;
    font-weight: 500;
    color: white;
    background-color: #556cd6;
    transition: background-color 0.3s;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 30px;
}

.boutonReserve:hover {
    background-color: #4a5dc1;
}

/* Media Queries */
@media (max-width: 1024px) {
    .ficheDest {
        flex-direction: column;
        margin-top: 80px;
    }

    .photoPrincipale {
        height: 50vw;
        max-height: 300px;
    }

    .petitesPhotos {
        flex-direction: column;
        gap: 10px;
    }

    .petite {
        height: 60px;
    }

    .texte {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .ficheDest {
        width: 90%;
    }

    .nomGOT {
        font-size: 1.5rem;
    }

    .vraiNom {
        font-size: 1.4rem;
    }

    .descrLong {
        font-size: 0.9rem;
    }

    .prix {
        font-size: 1.3rem;
    }

    .boutonReserve {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .ficheDest {
        margin-top: 50px;
    }

    .photoPrincipale {
        height: 60vw;
        max-height: 200px;
    }

    .petitesPhotos {
        gap: 5px;
    }

    .petite {
        height: 50px;
    }

    .texte {
        padding: 10px;
    }

    .nomGOT {
        font-size: 1.2rem;
    }

    .vraiNom {
        font-size: 1.1rem;
    }

    .descrLong {
        font-size: 0.8rem;
    }

    .prix {
        font-size: 1rem;
    }

    .avion {
        width: 20px;
        height: 20px;
    }

    .boutonReserve {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}
