/* ==================== ESTILOS PARA POIS ENRIQUECIDOS ==================== */

/* Rating con Estrellas */
.poi-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.poi-rating-stars i {
    font-size: 0.9rem;
}

/* Galería de Fotos - Carrusel */
.carousel-inner {
    border-radius: 8px !important;
}

.carousel-item img {
    border-radius: 8px;
}

.carousel-indicators {
    margin-bottom: -0.5rem;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 3px;
}

/* Cards de POI Compactas */
.poi-compact-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.poi-compact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Items de POI Enriquecidos */
.poi-item-enriched {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.poi-item-enriched:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1) !important;
}

/* Reviews */
.review-card {
    transition: background-color 0.2s ease;
}

.review-card:hover {
    background-color: #f1f5f9 !important;
}

/* Información de Contacto */
.poi-contact p {
    display: flex;
    align-items: start;
}

.poi-contact a:hover {
    text-decoration: underline !important;
}

/* Botones de Acción */
.poi-actions {
    gap: 0.5rem;
}

.poi-actions .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    min-width: 120px;
}

.poi-actions .btn i {
    font-size: 1rem;
}

/* Modal de Detalles de POI */
.poi-details h4 {
    color: #1e293b;
    font-weight: 600;
}

.poi-details h6 {
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Badges */
.badge.bg-info {
    background-color: #0dcaf0 !important;
}

/* Lazy Loading de Imágenes */
img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

img[loading="lazy"].loaded {
    animation: none;
    background: none;
}

/* Efectos Hover para Items con Foto */
.search-result-item img {
    transition: transform 0.3s ease;
}

.search-result-item:hover img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .poi-compact-card {
        max-width: 100% !important;
        min-width: 100%;
    }
    
    .poi-actions {
        flex-direction: column;
    }
    
    .poi-actions .btn {
        width: 100%;
    }
    
    .carousel-item img {
        max-height: 200px !important;
    }
    
    .poi-rating-stars i {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .search-result-item .col-auto img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .poi-actions .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        min-width: auto;
    }
}

/* Accessibility */
.poi-accessibility {
    border-left: 3px solid #0dcaf0;
    padding-left: 1rem !important;
}

/* Animación suave para aparición de elementos */
.poi-details > * {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mejoras visuales para cards */
.card.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease;
}

/* Estilo para fotos thumbnail */
.poi-thumbnail {
    border-radius: 8px;
    overflow: hidden;
}

.poi-thumbnail img {
    transition: transform 0.3s ease;
}

.poi-thumbnail:hover img {
    transform: scale(1.1);
}
