/* ===================================================================================== */
/*                          SECCIÓN SERVICIOS - CSS MEJORADO                            */
/* ===================================================================================== */

/* Sección Principal de Amenidades */
.amenities-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 24px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hotel-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #d4af37;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #d4af37;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

/* Grid de Amenidades */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.amenity-item:hover {
    border-color: #d4af37;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.amenity-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #efefef 100%);
    border-radius: 10px;
    color: #1a1a1a;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.amenity-item:hover .amenity-icon {
    background: linear-gradient(135deg, #d4af37 0%, #c9a547 100%);
    color: #ffffff;
    transform: scale(1.1);
}

.amenity-text {
    font-size: 1rem;
    color: #333333;
    font-weight: 500;
    line-height: 1.4;
}

/* Botón Mostrar Todas */
.show-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #ffffff;
    border: 2px solid #1a1a1a;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.show-all-btn:hover {
    background: #1a1a1a;
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.show-all-btn i {
    transition: transform 0.3s ease;
}

.show-all-btn:hover i {
    transform: translateX(4px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    opacity: 1;
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-content {
    transform: scale(1);
}

/* Header del Modal */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e5e5;
    background: #fafafa;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.close-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: #666666;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #f0f0f0;
    color: #1a1a1a;
    transform: rotate(90deg);
}

/* Body del Modal */
.modal-body {
    padding: 32px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

/* Scrollbar personalizado */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #c9a547;
}

/* Categorías de Amenidades */
.amenity-category {
    margin-bottom: 40px;
}

.amenity-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #d4af37;
    display: inline-block;
}

.category-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.modal-amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fafafa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-amenity-item:hover {
    background: #f0f0f0;
    transform: translateX(4px);
}

.modal-amenity-item .amenity-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
}

.gold-accent {
    background: linear-gradient(135deg, #d4af37 0%, #c9a547 100%);
    color: #ffffff !important;
}

.modal-amenity-item .amenity-text {
    font-size: 0.95rem;
    color: #444444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .amenities-section {
        margin: 60px auto;
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 32px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .amenity-item {
        padding: 16px;
    }

    .modal-header {
        padding: 20px 24px;
    }

    .modal-body {
        padding: 24px 20px;
    }

    .category-items {
        grid-template-columns: 1fr;
    }

    .show-all-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .hotel-badge {
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .category-title {
        font-size: 1.1rem;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.amenity-item {
    animation: fadeIn 0.5s ease backwards;
}

.amenity-item:nth-child(1) { animation-delay: 0.05s; }
.amenity-item:nth-child(2) { animation-delay: 0.1s; }
.amenity-item:nth-child(3) { animation-delay: 0.15s; }
.amenity-item:nth-child(4) { animation-delay: 0.2s; }
.amenity-item:nth-child(5) { animation-delay: 0.25s; }
.amenity-item:nth-child(6) { animation-delay: 0.3s; }
.amenity-item:nth-child(7) { animation-delay: 0.35s; }
.amenity-item:nth-child(8) { animation-delay: 0.4s; }
.amenity-item:nth-child(9) { animation-delay: 0.45s; }
.amenity-item:nth-child(10) { animation-delay: 0.5s; }