/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
}

/* Titre */
h2 {
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

/* Carte des hôtels */
.hotel-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative; /* Pour le badge */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.hotel-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

/* Badge intéressant */
.ribbon {
    position: absolute;
    top: 0;
    right: 10px;
    color: white;
    font-size: 14px;
    padding: 10px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
    z-index: 10;
}

.ribbon-success {
    background-color: #28a745; /* Vert */
}

/* Nom de l'hôtel */
.hotel-name {
    font-size: 1.25rem;
    font-weight: bold;
    background-color: #007bff; /* Couleur bleu */
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Informations de l'hôtel */
.hotel-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

/* Description */
.hotel-description {
    background-color: #f8f9fa; /* Couleur gris clair */
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    font-size: 14px;
    color: #555;
    border-left: 4px solid #007bff; /* Accent à gauche */
}

/* Boutons */
.card-footer {
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-primary {
    background-color: #007bff; /* Bleu clair */
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-danger {
    background-color: #dc3545;
    color: #fff;
}

.btn-danger:hover {
    background-color: #c82333;
}