/* Styles personnalisés pour les boutons */

/* Bouton Réserver */
.btn-reserve {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-reserve:hover {
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(46, 125, 50, 0.4);
}

.btn-reserve:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(46, 125, 50, 0.4);
}

.btn-reserve::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-reserve:hover::before {
    left: 100%;
}

/* Bouton Détails */
.btn-details {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(41, 128, 185, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-details:hover {
    background: linear-gradient(135deg, #2980b9, #1a5276);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(41, 128, 185, 0.4);
}

.btn-details:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(41, 128, 185, 0.4);
}

.btn-details::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-details:hover::before {
    left: 100%;
}

/* Animation pour les icônes dans les boutons */
.btn-reserve i, .btn-details i {
    transition: transform 0.3s ease;
}

.btn-reserve:hover i {
    transform: scale(1.2);
}

.btn-details:hover i {
    transform: rotate(20deg);
}

/* Styles pour les boutons sur la page d'accueil */
.home-btn {
    padding: 12px 25px;
    font-size: 1.1rem;
}

/* Styles pour les boutons sur la page de détails */
.detail-btn {
    width: 100%;
    margin-bottom: 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
}

/* Styles pour les boutons sur la page de résultats de recherche */
.search-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Styles pour les boutons sur mobile */
@media (max-width: 768px) {
    .btn-reserve, .btn-details {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .detail-btn {
        padding: 12px 15px;
    }
}
