/* Imabell Services Grid - Estilos Frontend AMARILLO */

.imabell-services-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Filtros de categorías - AMARILLO */
.imabell-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #FDF2C8 0%, #FBF4E4 100%);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(251, 206, 53, 0.1);
    border: 2px solid #FBEAAB;
}

.category-filter {
    background: #ffffff;
    border: 2px solid #FBEAAB;
    color: #5D6D7E;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    white-space: normal; /* Modificación */
    word-wrap: break-word; /* Adición */
    position: relative;
    overflow: hidden;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    text-align: center;
}

.category-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 206, 53, 0.1), transparent);
    transition: left 0.6s;
}

.category-filter:hover::before {
    left: 100%;
}

.category-filter:hover {
    border-color: #FBCE35;
    color: #FBCE35;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 206, 53, 0.4);
}

.category-filter.active {
    background: #FBCE35;
    color: white;
    border-color: #FBCE35;
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(251, 206, 53, 0.3);
}

.category-filter.active:hover {
    background: #EBAA12;
    border-color: #EBAA12;
}

.category-filter.active::before {
    content: none;
}

/* Grid de servicios */
.imabell-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Tarjetas de servicio */
.service-card {
    background: #ffffff;
    border: 2px solid #FBEAAB;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: #2C3E50;
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
}

.service-card p {
    color: #5D6D7E;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.service-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #888;
}

.service-meta span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Botones de acción */
.ver-servicios-btn {
    background: #FBCE35;
    color: #2C3E50;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 206, 53, 0.3);
}

.reservar-ahora-btn {
    background: transparent;
    color: #FBCE35;
    border: 2px solid #FBCE35;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    min-height: 48px;
    white-space: normal; /* Modificación */
    word-wrap: break-word; /* Adición */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ver-servicios-btn:hover {
    background: #EBAA12;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 206, 53, 0.4);
}

.reservar-ahora-btn:hover {
    background: #FBCE35;
    color: #2C3E50;
}

/* Clases de utilidad */
.hidden {
    display: none !important;
}

.filtering-in {
    animation: fadeIn 0.5s forwards;
}

.filtering-out {
    animation: fadeOut 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.95); }
}

/* Media Queries */
@media (max-width: 992px) {
    .imabell-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .imabell-services-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}